Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
4fc9dfc2
Commit
4fc9dfc2
authored
Jan 14, 2014
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Add launcher.count as useful performance testing aid"
This reverts commit
e1605b46
.
parent
3b259bc8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
8 deletions
+2
-8
JarLauncher.java
...ain/java/org/springframework/boot/loader/JarLauncher.java
+1
-4
PropertiesLauncher.java
...a/org/springframework/boot/loader/PropertiesLauncher.java
+1
-4
No files found.
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/JarLauncher.java
View file @
4fc9dfc2
...
@@ -41,9 +41,6 @@ public class JarLauncher extends ExecutableArchiveLauncher {
...
@@ -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
);
}
}
}
}
}
spring-boot-tools/spring-boot-loader/src/main/java/org/springframework/boot/loader/PropertiesLauncher.java
View file @
4fc9dfc2
...
@@ -539,10 +539,7 @@ public class PropertiesLauncher extends Launcher {
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment