mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-28 04:07:01 -05:00
format code better
This commit is contained in:
@@ -78,9 +78,10 @@ public record Version(int major, int minor, int micro, int patch, @Nullable Stri
|
|||||||
return this.minor - other.minor;
|
return this.minor - other.minor;
|
||||||
} else if (this.micro != other.micro) {
|
} else if (this.micro != other.micro) {
|
||||||
return this.micro - other.micro;
|
return this.micro - other.micro;
|
||||||
|
} else if (this.patch != other.patch) {
|
||||||
|
return this.patch - other.patch;
|
||||||
} else {
|
} else {
|
||||||
return this.patch != other.patch ? this.patch - other.patch
|
return Ordering.natural().nullsLast()
|
||||||
: Ordering.natural().nullsLast()
|
|
||||||
.compare(this.qualifier, other.qualifier);
|
.compare(this.qualifier, other.qualifier);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user