Browse Source

Revert "Add launcher.count as useful performance testing aid"

This reverts commit e1605b4691.
pull/234/head
Phillip Webb 12 years ago
parent
commit
4fc9dfc2d5
  1. 5
      spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java
  2. 5
      spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java

5
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) { public static void main(String[] args) {
int count = new Integer(System.getProperty("launcher.count", "1")); new JarLauncher().launch(args);
for (int i = 0; i < count; i++) {
new JarLauncher().launch(args);
}
} }
} }

5
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) { public static void main(String[] args) {
int count = new Integer(System.getProperty("launcher.count", "1")); new PropertiesLauncher().launch(args);
for (int i = 0; i < count; i++) {
new PropertiesLauncher().launch(args);
}
} }
public static String toCamelCase(CharSequence string) { public static String toCamelCase(CharSequence string) {

Loading…
Cancel
Save