Migrate initializr-service to Java

This commit is contained in:
Stephane Nicoll
2017-02-08 11:57:34 +01:00
parent 2c0269c96b
commit 0ff278a3d0
6 changed files with 120 additions and 121 deletions

View File

@@ -82,7 +82,7 @@ final class Version implements Serializable, Comparable<Version> {
* @return a Version instance for the specified version text
* @see {@link VersionParser}
*/
static safeParse(String text) {
static Version safeParse(String text) {
try {
return parse(text)
} catch (InvalidVersionException e) {