Skip to content

Commit

Permalink
Merge branch 'main' into fix-cve
Browse files Browse the repository at this point in the history
Signed-off-by: Abbas Hussain <abbas_10690@yahoo.com>
  • Loading branch information
abbashus committed May 11, 2021
2 parents 71cbcee + 58f9aac commit f3eea4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/src/main/java/org/opensearch/LegacyESVersion.java
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,8 @@ public class LegacyESVersion extends Version {
"expected [" + version.id + "] to be uniquely mapped but saw [" + maybePrevious + "] and [" + version + "]";
} catch (final IllegalAccessException e) {
assert false : "Version field [" + fieldName + "] should be public";
} catch (final RuntimeException e) {
assert false : "Version field [" + fieldName + "] threw [" + e + "] during initialization";
}
}
}
Expand Down

0 comments on commit f3eea4f

Please sign in to comment.