reschke commented on code in PR #1963: URL: https://github.com/apache/jackrabbit-oak/pull/1963#discussion_r1908400746
########## oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentVersion.java: ########## @@ -56,7 +53,7 @@ public enum SegmentVersion { * Latest segment version */ public static final SegmentVersion LATEST_VERSION = max(allOf(SegmentVersion.class), - (v1, v2) -> UnsignedBytes.compare(v1.version, v2.version)); + (v1, v2) -> Integer.compare(v1.version, v2.version)); Review Comment: But now we don't need "compareUnsigned" anymore, right? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: oak-dev-unsubscr...@jackrabbit.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org