From 4fc9dfc2d5374a03122d6865f6e8b66d80442ad5 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 14 Jan 2014 10:22:09 -0800 Subject: [PATCH] Revert "Add launcher.count as useful performance testing aid" This reverts commit e1605b46919b7452f5af7773a116871a8e475424. --- .../java/org/springframework/boot/loader/JarLauncher.java | 5 +---- .../org/springframework/boot/loader/PropertiesLauncher.java | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java index 2d3d189309b..23f1ff021f0 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java @@ -41,9 +41,6 @@ public class JarLauncher extends ExecutableArchiveLauncher { } public static void main(String[] args) { - int count = new Integer(System.getProperty("launcher.count", "1")); - for (int i = 0; i < count; i++) { - new JarLauncher().launch(args); - } + new JarLauncher().launch(args); } } diff --git a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java index 386734d0978..4eefb8cda7b 100644 --- a/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java +++ b/spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java @@ -539,10 +539,7 @@ public class PropertiesLauncher extends Launcher { } public static void main(String[] args) { - int count = new Integer(System.getProperty("launcher.count", "1")); - for (int i = 0; i < count; i++) { - new PropertiesLauncher().launch(args); - } + new PropertiesLauncher().launch(args); } public static String toCamelCase(CharSequence string) {