trivial cleanup to avoid compiler warnings

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382158 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Daniel Naber 2006-03-01 21:05:21 +00:00
parent 85f9706b6b
commit 738103d83d
2 changed files with 4 additions and 6 deletions

View File

@ -16,12 +16,10 @@ package org.apache.lucene.analysis;
* 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

View File

@ -75,7 +75,7 @@ public class TestLock extends TestCase {
private class LockMock extends Lock {
public int lockAttempts;
public boolean obtain() throws IOException {
public boolean obtain() {
lockAttempts++;
return false;
}