Compare commits
1 Commits
0.1-prepro
...
0.1-dev
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
62a3864aeb |
@@ -27,6 +27,14 @@ public record SemanticVersion(int major, int minor, int patch) {
|
||||
return new SemanticVersion(major, minor, patch);
|
||||
}
|
||||
|
||||
public static SemanticVersion of(int major, int minor) {
|
||||
return of(major, minor, 0);
|
||||
}
|
||||
|
||||
public static SemanticVersion of(int major) {
|
||||
return of(major, 0);
|
||||
}
|
||||
|
||||
public static SemanticVersion of(@NotNull String versionStr) {
|
||||
final String s = versionStr.trim();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user