Skip to content

Commit 09e4f6a

Browse files
committed
Code comment add
1 parent 321ef00 commit 09e4f6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/fasterxml/jackson/core/Version.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,7 @@ public int compareTo(Version other)
148148
if (diff == 0) {
149149
diff = _patchLevel - other._patchLevel;
150150
if (diff == 0) {
151+
// Snapshot: non-snapshot AFTER snapshot, otherwise alphabetical
151152
if (isSnapshot()) {
152153
if (other.isSnapshot()) {
153154
diff = _snapshotInfo.compareTo(other._snapshotInfo);

0 commit comments

Comments
 (0)