You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/01/20 19:36:14 UTC

svn commit: r1234056 - in /lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene: codecs/simpletext/SimpleTextLiveDocsFormat.java util/MutableBits.java

Author: rmuir
Date: Fri Jan 20 18:36:14 2012
New Revision: 1234056

URL: http://svn.apache.org/viewvc?rev=1234056&view=rev
Log:
LUCENE-3661: remove unnecessary method

Modified:
    lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java
    lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/util/MutableBits.java

Modified: lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java?rev=1234056&r1=1234055&r2=1234056&view=diff
==============================================================================
--- lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java (original)
+++ lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/codecs/simpletext/SimpleTextLiveDocsFormat.java Fri Jan 20 18:36:14 2012
@@ -175,13 +175,6 @@ public class SimpleTextLiveDocsFormat ex
     }
 
     @Override
-    public boolean getAndSet(int bit) {
-      boolean v = bits.get(bit);
-      bits.set(bit);
-      return v;
-    }
-
-    @Override
     public boolean getAndClear(int bit) {
       boolean v = bits.get(bit);
       bits.clear(bit);

Modified: lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/util/MutableBits.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/util/MutableBits.java?rev=1234056&r1=1234055&r2=1234056&view=diff
==============================================================================
--- lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/util/MutableBits.java (original)
+++ lucene/dev/branches/lucene3661/lucene/src/java/org/apache/lucene/util/MutableBits.java Fri Jan 20 18:36:14 2012
@@ -23,7 +23,6 @@ public interface MutableBits extends Bit
   public int count();
   
   // nocommit: are these truly necessary?
-  public boolean getAndSet(int bit);
   public boolean getAndClear(int bit);
   public MutableBits clone();
 }