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 50d9ef8 commit fac4e45Copy full SHA for fac4e45
server/src/main/java/org/elasticsearch/Version.java
@@ -475,10 +475,7 @@ public static List<Version> getDeclaredVersions(final Class<?> versionClass) {
475
}
476
assert field.getName().matches("V(_\\d+)+(_(alpha|beta|rc)\\d+)?") : field.getName();
477
try {
478
- // special case for V_5_6_11
479
- if (field.get(null) != null) {
480
- versions.add(((Version) field.get(null)));
481
- }
+ versions.add(((Version) field.get(null)));
482
} catch (final IllegalAccessException e) {
483
throw new RuntimeException(e);
484
0 commit comments