You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2014/02/11 00:52:05 UTC

svn commit: r1566868 - in /hbase/branches/0.98: hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterListAdditional.java

Author: tedyu
Date: Mon Feb 10 23:52:04 2014
New Revision: 1566868

URL: http://svn.apache.org/r1566868
Log:
HBASE-10485 Revert to address more review comments


Removed:
    hbase/branches/0.98/hbase-server/src/test/java/org/apache/hadoop/hbase/filter/TestFilterListAdditional.java
Modified:
    hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java

Modified: hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java?rev=1566868&r1=1566867&r2=1566868&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java (original)
+++ hbase/branches/0.98/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java Mon Feb 10 23:52:04 2014
@@ -25,7 +25,6 @@ import com.google.protobuf.InvalidProtoc
 
 import org.apache.hadoop.classification.InterfaceAudience;
 import org.apache.hadoop.classification.InterfaceStability;
-import org.apache.hadoop.hbase.Cell;
 import org.apache.hadoop.hbase.exceptions.DeserializationException;
 import org.apache.hadoop.hbase.protobuf.generated.FilterProtos;
 import org.apache.hadoop.hbase.util.Bytes;
@@ -67,12 +66,6 @@ public class PrefixFilter extends Filter
     return filterRow;
   }
 
-  @Override
-  public ReturnCode filterKeyValue(Cell v) {
-    if (filterRow) return ReturnCode.SKIP;
-    return ReturnCode.INCLUDE;
-  }
-
   public boolean filterRow() {
     return filterRow;
   }