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
a638dcd5
Commit
a638dcd5
authored
Oct 24, 2016
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary use of System.out.println
parent
8150cbd0
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
9 deletions
+0
-9
SecurityFilterAutoConfigurationEarlyInitializationTests.java
...urityFilterAutoConfigurationEarlyInitializationTests.java
+0
-1
JvmUtilsTests.java
.../org/springframework/boot/loader/tools/JvmUtilsTests.java
+0
-1
AbstractEmbeddedServletContainerFactoryTests.java
...mbedded/AbstractEmbeddedServletContainerFactoryTests.java
+0
-3
TomcatEmbeddedServletContainerFactoryTests.java
...ed/tomcat/TomcatEmbeddedServletContainerFactoryTests.java
+0
-3
BeanCurrentlyInCreationFailureAnalyzerTests.java
...analyzer/BeanCurrentlyInCreationFailureAnalyzerTests.java
+0
-1
No files found.
spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/SecurityFilterAutoConfigurationEarlyInitializationTests.java
View file @
a638dcd5
...
@@ -146,7 +146,6 @@ public class SecurityFilterAutoConfigurationEarlyInitializationTests {
...
@@ -146,7 +146,6 @@ public class SecurityFilterAutoConfigurationEarlyInitializationTests {
@RequestMapping
(
"/"
)
@RequestMapping
(
"/"
)
public
void
convert
()
{
public
void
convert
()
{
System
.
out
.
println
(
"Hello"
);
this
.
conversionService
.
convert
(
new
SourceType
(),
DestinationType
.
class
);
this
.
conversionService
.
convert
(
new
SourceType
(),
DestinationType
.
class
);
}
}
...
...
spring-boot-tools/spring-boot-loader-tools/src/test/java/org/springframework/boot/loader/tools/JvmUtilsTests.java
View file @
a638dcd5
...
@@ -33,7 +33,6 @@ public class JvmUtilsTests {
...
@@ -33,7 +33,6 @@ public class JvmUtilsTests {
@Test
@Test
public
void
getToolsJar
()
throws
Exception
{
public
void
getToolsJar
()
throws
Exception
{
URL
jarUrl
=
JvmUtils
.
getToolsJarUrl
();
URL
jarUrl
=
JvmUtils
.
getToolsJarUrl
();
// System.out.println(jarUrl);
assertThat
(
jarUrl
.
toString
()).
endsWith
(
".jar"
);
assertThat
(
jarUrl
.
toString
()).
endsWith
(
".jar"
);
assertThat
(
new
File
(
jarUrl
.
toURI
()).
exists
()).
isTrue
();
assertThat
(
new
File
(
jarUrl
.
toURI
()).
exists
()).
isTrue
();
}
}
...
...
spring-boot/src/test/java/org/springframework/boot/context/embedded/AbstractEmbeddedServletContainerFactoryTests.java
View file @
a638dcd5
...
@@ -669,9 +669,6 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
...
@@ -669,9 +669,6 @@ public abstract class AbstractEmbeddedServletContainerFactoryTests {
.
getEmbeddedServletContainer
(
sessionServletRegistration
());
.
getEmbeddedServletContainer
(
sessionServletRegistration
());
this
.
container
.
start
();
this
.
container
.
start
();
String
s3
=
getResponse
(
getLocalUrl
(
"/session"
));
String
s3
=
getResponse
(
getLocalUrl
(
"/session"
));
System
.
out
.
println
(
s1
);
System
.
out
.
println
(
s2
);
System
.
out
.
println
(
s3
);
String
message
=
"Session error s1="
+
s1
+
" s2="
+
s2
+
" s3="
+
s3
;
String
message
=
"Session error s1="
+
s1
+
" s2="
+
s2
+
" s3="
+
s3
;
assertThat
(
s2
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s1
.
split
(
":"
)[
1
]);
assertThat
(
s2
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s1
.
split
(
":"
)[
1
]);
assertThat
(
s3
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s2
.
split
(
":"
)[
1
]);
assertThat
(
s3
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s2
.
split
(
":"
)[
1
]);
...
...
spring-boot/src/test/java/org/springframework/boot/context/embedded/tomcat/TomcatEmbeddedServletContainerFactoryTests.java
View file @
a638dcd5
...
@@ -394,9 +394,6 @@ public class TomcatEmbeddedServletContainerFactoryTests
...
@@ -394,9 +394,6 @@ public class TomcatEmbeddedServletContainerFactoryTests
.
getEmbeddedServletContainer
(
sessionServletRegistration
());
.
getEmbeddedServletContainer
(
sessionServletRegistration
());
this
.
container
.
start
();
this
.
container
.
start
();
String
s3
=
getResponse
(
getLocalUrl
(
"/session"
));
String
s3
=
getResponse
(
getLocalUrl
(
"/session"
));
System
.
out
.
println
(
s1
);
System
.
out
.
println
(
s2
);
System
.
out
.
println
(
s3
);
String
message
=
"Session error s1="
+
s1
+
" s2="
+
s2
+
" s3="
+
s3
;
String
message
=
"Session error s1="
+
s1
+
" s2="
+
s2
+
" s3="
+
s3
;
assertThat
(
s2
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s1
.
split
(
":"
)[
1
]);
assertThat
(
s2
.
split
(
":"
)[
0
]).
as
(
message
).
isEqualTo
(
s1
.
split
(
":"
)[
1
]);
assertThat
(
s3
.
split
(
":"
)[
0
]).
as
(
message
).
isNotEqualTo
(
s2
.
split
(
":"
)[
1
]);
assertThat
(
s3
.
split
(
":"
)[
0
]).
as
(
message
).
isNotEqualTo
(
s2
.
split
(
":"
)[
1
]);
...
...
spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BeanCurrentlyInCreationFailureAnalyzerTests.java
View file @
a638dcd5
...
@@ -144,7 +144,6 @@ public class BeanCurrentlyInCreationFailureAnalyzerTests {
...
@@ -144,7 +144,6 @@ public class BeanCurrentlyInCreationFailureAnalyzerTests {
private
FailureAnalysis
performAnalysis
(
Class
<?>
configuration
)
{
private
FailureAnalysis
performAnalysis
(
Class
<?>
configuration
)
{
FailureAnalysis
analysis
=
this
.
analyzer
.
analyze
(
createFailure
(
configuration
));
FailureAnalysis
analysis
=
this
.
analyzer
.
analyze
(
createFailure
(
configuration
));
assertThat
(
analysis
).
isNotNull
();
assertThat
(
analysis
).
isNotNull
();
System
.
out
.
println
(
analysis
.
getDescription
());
return
analysis
;
return
analysis
;
}
}
...
...
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