Skip to content

Commit

Permalink
Code comment add
Browse files Browse the repository at this point in the history
  • Loading branch information
cowtowncoder committed Jun 18, 2023
1 parent 321ef00 commit 09e4f6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/com/fasterxml/jackson/core/Version.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ public int compareTo(Version other)
if (diff == 0) {
diff = _patchLevel - other._patchLevel;
if (diff == 0) {
// Snapshot: non-snapshot AFTER snapshot, otherwise alphabetical
if (isSnapshot()) {
if (other.isSnapshot()) {
diff = _snapshotInfo.compareTo(other._snapshotInfo);
Expand Down

0 comments on commit 09e4f6a

Please sign in to comment.