Skip to content

Commit 809ca06

Browse files
committed
amend
1 parent 4f4343c commit 809ca06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/codebottle/api/model/Snippet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public Revision update(JsonNode data) {
242242
@Override
243243
@Contract(pure = true)
244244
public int compareTo(@NotNull Snippet.Revision other) {
245-
return 0;
245+
return REVISION_COMPARATOR.compare(this, other);
246246
}
247247
}
248248
}

0 commit comments

Comments
 (0)