lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dna...@apache.org
Subject svn commit: r382158 - in /lucene/java/trunk/src/test/org/apache/lucene: analysis/TestStopFilter.java store/TestLock.java
Date Wed, 01 Mar 2006 21:05:23 GMT
Author: dnaber
Date: Wed Mar  1 13:05:21 2006
New Revision: 382158

URL: http://svn.apache.org/viewcvs?rev=382158&view=rev
Log:
trivial cleanup to avoid compiler warnings

Modified:
    lucene/java/trunk/src/test/org/apache/lucene/analysis/TestStopFilter.java
    lucene/java/trunk/src/test/org/apache/lucene/store/TestLock.java

Modified: lucene/java/trunk/src/test/org/apache/lucene/analysis/TestStopFilter.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/analysis/TestStopFilter.java?rev=382158&r1=382157&r2=382158&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/analysis/TestStopFilter.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/analysis/TestStopFilter.java Wed Mar  1 13:05:21
2006
@@ -16,12 +16,10 @@
  * limitations under the License.
  */
 
-import junit.framework.TestCase;
-
-import java.io.StringReader;
 import java.io.IOException;
-import java.util.Set;
-import java.util.HashSet;
+import java.io.StringReader;
+
+import junit.framework.TestCase;
 
 /**
  * @author yonik

Modified: lucene/java/trunk/src/test/org/apache/lucene/store/TestLock.java
URL: http://svn.apache.org/viewcvs/lucene/java/trunk/src/test/org/apache/lucene/store/TestLock.java?rev=382158&r1=382157&r2=382158&view=diff
==============================================================================
--- lucene/java/trunk/src/test/org/apache/lucene/store/TestLock.java (original)
+++ lucene/java/trunk/src/test/org/apache/lucene/store/TestLock.java Wed Mar  1 13:05:21 2006
@@ -75,7 +75,7 @@
     private class LockMock extends Lock {
         public int lockAttempts;
 
-        public boolean obtain() throws IOException {
+        public boolean obtain() {
             lockAttempts++;
             return false;
         }



Mime
View raw message