removing comment, and clarifying a variable name

This commit is contained in:
Vincent Batts 2012-12-07 14:42:04 -05:00
parent 0d00f4ad00
commit 19f98ce86d

View file

@ -407,12 +407,6 @@ public class PathTree {
StringTokenizer st = new StringTokenizer(path, "/");
PathTree.makePathForURL(st, parent, endMarker);
}
/* XXX I am convinced, that this is not needed
*
* If you feel otherwise, then fix it's broken logic.
*
* -- vbatts
*/
condenseSubTreeNodes(endMarker);
return parent;
}
@ -464,11 +458,11 @@ public class PathTree {
*
* @return the Set of weighted PathNode
*/
private Set<PathNode> populatePathNodes(List<HuffNode> nodeDictionary,
private Set<PathNode> populatePathNodes(List<HuffNode> thisNodeDictionary,
HuffNode pathTrie, HuffNode nodeTrie, StringBuffer theseNodeBits) {
Set<PathNode> pathNodes = new HashSet<PathNode>();
StringBuffer myNodeBits = new StringBuffer(theseNodeBits.toString());
for (HuffNode node : nodeDictionary) {
for (HuffNode node : thisNodeDictionary) {
pathNodes.add((PathNode) node.getValue());
boolean stillNode = true;
while (stillNode) {