mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-18 17:48:14 +08:00
Polish
This commit is contained in:
@@ -66,7 +66,7 @@ class Version implements Comparable<Version> {
|
||||
def matcher = (text.trim() =~ VERSION_REGEX)
|
||||
if (!matcher.matches()) {
|
||||
throw new InvalidVersionException("Could not determine version based on '$text': version format " +
|
||||
"is Minor.Major.Patch.Qualifier (i.e. 1.0.5.RELEASE")
|
||||
"is Minor.Major.Patch.Qualifier (i.e. 1.0.5.RELEASE)")
|
||||
}
|
||||
Version version = new Version()
|
||||
version.major = Integer.valueOf(matcher[0][1])
|
||||
|
Reference in New Issue
Block a user