From eb56b490bad44f2ffa04e6b52f3cf0eaaa9c7e4a Mon Sep 17 00:00:00 2001 From: Dave Brosius Date: Fri, 20 Jun 2014 00:45:18 -0400 Subject: [PATCH] don't mask class' template parameter --- src/java/org/apache/cassandra/utils/btree/Path.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/java/org/apache/cassandra/utils/btree/Path.java b/src/java/org/apache/cassandra/utils/btree/Path.java index db6d64e02b..b1b0e03c86 100644 --- a/src/java/org/apache/cassandra/utils/btree/Path.java +++ b/src/java/org/apache/cassandra/utils/btree/Path.java @@ -94,9 +94,9 @@ public class Path * @param target the key to search for * @param mode the type of search to perform * @param forwards if the path should be setup for forward or backward iteration - * @param + * @param */ - boolean find(Comparator comparator, Object target, Op mode, boolean forwards) + boolean find(Comparator comparator, Object target, Op mode, boolean forwards) { // TODO : should not require parameter 'forwards' - consider modifying index to represent both // child and key position, as opposed to just key position (which necessitates a different value depending @@ -321,7 +321,7 @@ public class Path return currentNode()[currentIndex()]; } - int compareTo(Path that, boolean forwards) + int compareTo(Path that, boolean forwards) { int d = Math.min(this.depth, that.depth); for (int i = 0; i <= d; i++)