We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dca485 commit 8f48906Copy full SHA for 8f48906
oak-segment-tar/src/main/java/org/apache/jackrabbit/oak/segment/SegmentVersion.java
@@ -53,7 +53,7 @@ public enum SegmentVersion {
53
* Latest segment version
54
*/
55
public static final SegmentVersion LATEST_VERSION = max(allOf(SegmentVersion.class),
56
- (v1, v2) -> Integer.compareUnsigned(Byte.toUnsignedInt(v1.version), Byte.toUnsignedInt(v2.version));
+ (v1, v2) -> Integer.compare(Byte.toUnsignedInt(v1.version), Byte.toUnsignedInt(v2.version)));
57
58
private final byte version;
59
0 commit comments