diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments-commandline/src/main/java/org/test/SampleApplication.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments-commandline/src/main/java/org/test/SampleApplication.java index 966c3b52bb..fccdd22002 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments-commandline/src/main/java/org/test/SampleApplication.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments-commandline/src/main/java/org/test/SampleApplication.java @@ -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]); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments/src/main/java/org/test/SampleApplication.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments/src/main/java/org/test/SampleApplication.java index 966c3b52bb..fccdd22002 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments/src/main/java/org/test/SampleApplication.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-arguments/src/main/java/org/test/SampleApplication.java @@ -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]); diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles-fork/src/main/java/org/test/SampleApplication.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles-fork/src/main/java/org/test/SampleApplication.java index e2dd826419..b7618195e4 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles-fork/src/main/java/org/test/SampleApplication.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles-fork/src/main/java/org/test/SampleApplication.java @@ -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=")) { diff --git a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles/src/main/java/org/test/SampleApplication.java b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles/src/main/java/org/test/SampleApplication.java index e2dd826419..b7618195e4 100644 --- a/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles/src/main/java/org/test/SampleApplication.java +++ b/spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/it/run-profiles/src/main/java/org/test/SampleApplication.java @@ -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=")) {