mirror of
https://github.com/apache/lucene.git
synced 2025-03-06 08:19:23 +00:00
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:
parent
85f9706b6b
commit
738103d83d
@ -16,12 +16,10 @@ package org.apache.lucene.analysis;
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import junit.framework.TestCase;
|
|
||||||
|
|
||||||
import java.io.StringReader;
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
import java.util.Set;
|
import java.io.StringReader;
|
||||||
import java.util.HashSet;
|
|
||||||
|
import junit.framework.TestCase;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author yonik
|
* @author yonik
|
||||||
|
@ -75,7 +75,7 @@ public class TestLock extends TestCase {
|
|||||||
private class LockMock extends Lock {
|
private class LockMock extends Lock {
|
||||||
public int lockAttempts;
|
public int lockAttempts;
|
||||||
|
|
||||||
public boolean obtain() throws IOException {
|
public boolean obtain() {
|
||||||
lockAttempts++;
|
lockAttempts++;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user