Skip to content

Commit 1f660cc

Browse files
committed
assign zero without using file
1 parent 04347e6 commit 1f660cc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

server/src/main/java/org/elasticsearch/TransportVersion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ private static class VersionsHolder {
489489
ALL_VERSIONS_BY_NAME = Collections.unmodifiableMap(allVersionsByName);
490490

491491
CURRENT = ALL_VERSIONS.getLast();
492-
ZERO = loadConstant("zero");
492+
ZERO = new TransportVersion(0);
493493
MINIMUM_COMPATIBLE = loadConstant("minimum_compatible");
494494
MINIMUM_CCS_VERSION = loadConstant("minimum_ccs_version");
495495
}

server/src/main/resources/transport/constants/zero.csv

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)