mirror of https://github.com/apache/lucene.git
one patch merged too much in trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@821346 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30efdc5249
commit
2e1d224615
|
@ -90,7 +90,6 @@ public class TestCheckIndex extends LuceneTestCase {
|
|||
assertTrue(checker.checkIndex(onlySegments).clean == true);
|
||||
}
|
||||
|
||||
/* Does not work, because compilation puts final field from Constants of 2.9 into class file:
|
||||
public void testLuceneConstantVersion() throws IOException {
|
||||
// common-build.xml sets lucene.version
|
||||
final String version = System.getProperty("lucene.version");
|
||||
|
@ -98,5 +97,5 @@ public class TestCheckIndex extends LuceneTestCase {
|
|||
assertTrue(version.equals(Constants.LUCENE_MAIN_VERSION+"-dev") ||
|
||||
version.equals(Constants.LUCENE_MAIN_VERSION));
|
||||
assertTrue(Constants.LUCENE_VERSION.startsWith(version));
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue