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:53:40 UTC

svn commit: r1566869 - in /hbase/trunk: 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:53:39 2014
New Revision: 1566869

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


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

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java?rev=1566869&r1=1566868&r2=1566869&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java (original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java Mon Feb 10 23:53:39 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;
   }