Skip to content

Commit

Permalink
upgrade to 3.2, change default jvm
Browse files Browse the repository at this point in the history
  • Loading branch information
dashaun committed Nov 28, 2023
1 parent d2da58d commit 3a2d170
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .mvn/wrapper/maven-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.2/apache-maven-3.9.2-bin.zip
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.3/apache-maven-3.9.3-bin.zip
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
2 changes: 1 addition & 1 deletion .sdkmanrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Enable auto-env through the sdkman_auto_env config
# Add key=value pairs of SDKs to use below
java=22.3.1.r17-grl
java=21.0.1-graalce
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.1</version>
<version>3.2.0</version>
<relativePath></relativePath>
</parent>
<groupId>dev.dashaun.shell.initializr</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public String projectVersion(@ShellOption(defaultValue = "0") String version) {
catch (XmlPullParserException | IOException e) {
return "There was a problem updating the project version.";
}
return String.format("Successfully set project version to '%s'", version);
return "Successfully set project version to '%s'".formatted(version);
}

@ShellMethod("Update the project description")
Expand All @@ -52,7 +52,7 @@ public String projectDescription(@ShellOption(defaultValue = "") String descript
return "There was a problem updating the project description.";
}
return "".equals(description) ? "Successfully removed the project description."
: String.format("Successfully set project name to '%s'", description);
: "Successfully set project name to '%s'".formatted(description);
}

@ShellMethod("Update the project name")
Expand All @@ -66,7 +66,7 @@ public String projectName(@ShellOption(defaultValue = "${project.groupId}:${proj
catch (XmlPullParserException | IOException e) {
return "There was a problem updating the project name.";
}
return String.format("Successfully set project name to '%s'", name);
return "Successfully set project name to '%s'".formatted(name);
}

@ShellMethod("Add AWS Lambda profile for Spring Cloud Functions")
Expand Down

0 comments on commit 3a2d170

Please sign in to comment.