See gh-19484
This commit is contained in:
Johnny Lim 2019-12-30 21:43:01 +09:00 committed by Stephane Nicoll
parent 5f178db49b
commit e4057dd528
4 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ public class SampleApplication {
public static void main(String[] args) {
if (args.length < 2) {
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args) + "");
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args));
}
if (!args[0].startsWith("--management.endpoints.web.exposure.include=")) {
throw new IllegalArgumentException("Invalid argument " + args[0]);

View File

@ -22,7 +22,7 @@ public class SampleApplication {
public static void main(String[] args) {
if (args.length < 2) {
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args) + "");
throw new IllegalArgumentException("Missing arguments " + Arrays.toString(args));
}
if (!args[0].startsWith("--management.endpoints.web.exposure.include=")) {
throw new IllegalArgumentException("Invalid argument " + args[0]);

View File

@ -22,7 +22,7 @@ public class SampleApplication {
public static void main(String[] args) {
if (args.length < 1) {
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args) + "");
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args));
}
String argument = args[0];
if (!argument.startsWith("--spring.profiles.active=")) {

View File

@ -22,7 +22,7 @@ public class SampleApplication {
public static void main(String[] args) {
if (args.length < 1) {
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args) + "");
throw new IllegalArgumentException("Missing active profile argument " + Arrays.toString(args));
}
String argument = args[0];
if (!argument.startsWith("--spring.profiles.active=")) {