Mercurial > hg > truffle
diff graal/com.oracle.max.base/src/com/sun/max/profile/ContextTree.java @ 4142:bc8527f3071c
Adjust code base to new level of warnings.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Sun, 18 Dec 2011 05:24:06 +0100 |
parents | e233f5660da4 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.max.base/src/com/sun/max/profile/ContextTree.java Sun Dec 18 05:23:52 2011 +0100 +++ b/graal/com.oracle.max.base/src/com/sun/max/profile/ContextTree.java Sun Dec 18 05:24:06 2011 +0100 @@ -41,7 +41,7 @@ this.id = id; } - public Node findChild(long searchId) { + public Node findChild() { Node pos = child; while (pos != null) { if (pos.id == this.id) { @@ -53,7 +53,7 @@ } public Node addChild(long searchId, Clock clock) { - Node foundChild = findChild(searchId); + Node foundChild = findChild(); if (foundChild == null) { foundChild = new Node(searchId); foundChild.timer = new SingleUseTimer(clock);