File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
main/java/org/elasticsearch/env
test/java/org/elasticsearch/env Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change 2323import org .apache .lucene .store .NativeFSLockFactory ;
2424import org .elasticsearch .Build ;
2525import org .elasticsearch .ElasticsearchException ;
26- import org .elasticsearch .Version ;
2726import org .elasticsearch .cluster .metadata .IndexMetadata ;
2827import org .elasticsearch .cluster .node .DiscoveryNode ;
2928import org .elasticsearch .cluster .node .DiscoveryNodeRole ;
Original file line number Diff line number Diff line change 4242import org .elasticsearch .test .MockLog ;
4343import org .elasticsearch .test .NodeRoles ;
4444import org .elasticsearch .test .junit .annotations .TestLogging ;
45- import org .hamcrest .Matchers ;
4645import org .junit .AssumptionViolatedException ;
4746
4847import java .io .IOException ;
@@ -641,10 +640,10 @@ public void testSymlinkDataDirectory() throws Exception {
641640 public void testGetBestDowngradeVersion () {
642641 int prev = Version .CURRENT .minimumCompatibilityVersion ().major ;
643642 int last = Version .CURRENT .minimumCompatibilityVersion ().minor ;
644- int old = prev - 1 ;
643+ int old = prev - 1 ;
645644
646645 assumeTrue ("The current compatibility rules are active only from 9.x onward" , prev >= 7 );
647- assertEquals (Version .CURRENT .major - 1 , prev );
646+ assertEquals (Version .CURRENT .major - 1 , prev );
648647
649648 assertEquals (
650649 "From an old major, recommend prev.last" ,
You can’t perform that action at this time.
0 commit comments