We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b443015 commit 7bc3a39Copy full SHA for 7bc3a39
lucene/luke/src/test/org/apache/lucene/luke/models/overview/TestOverviewImpl.java
@@ -72,7 +72,7 @@ public void testGetNumDeletedDocs() {
72
@Test
73
public void testIsOptimized() {
74
OverviewImpl overview = new OverviewImpl(reader, indexDir.toString());
75
- assertTrue(overview.isOptimized().orElse(false));
+ assertTrue(overview.isOptimized().isPresent());
76
}
77
78
0 commit comments