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
2c4e451f
Commit
2c4e451f
authored
Jul 31, 2018
by
Stephane Nicoll
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #13952 from izeye:remove-print-stack-trace
* pr/13952: Remove ex.printStackTrace() in tests
parents
3d85873a
d4fba783
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
5 deletions
+0
-5
LiveReloadServerTests.java
...ework/boot/devtools/livereload/LiveReloadServerTests.java
+0
-1
SocketTargetServerConnectionTests.java
...ools/tunnel/server/SocketTargetServerConnectionTests.java
+0
-1
CollectionBinderTests.java
...k/boot/context/properties/bind/CollectionBinderTests.java
+0
-2
BeanCurrentlyInCreationFailureAnalyzerTests.java
...analyzer/BeanCurrentlyInCreationFailureAnalyzerTests.java
+0
-1
No files found.
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/livereload/LiveReloadServerTests.java
View file @
2c4e451f
...
@@ -188,7 +188,6 @@ public class LiveReloadServerTests {
...
@@ -188,7 +188,6 @@ public class LiveReloadServerTests {
super
.
run
();
super
.
run
();
}
}
catch
(
ConnectionClosedException
ex
)
{
catch
(
ConnectionClosedException
ex
)
{
ex
.
printStackTrace
();
synchronized
(
MonitoredLiveReloadServer
.
this
.
monitor
)
{
synchronized
(
MonitoredLiveReloadServer
.
this
.
monitor
)
{
MonitoredLiveReloadServer
.
this
.
closedExceptions
.
add
(
ex
);
MonitoredLiveReloadServer
.
this
.
closedExceptions
.
add
(
ex
);
}
}
...
...
spring-boot-project/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/tunnel/server/SocketTargetServerConnectionTests.java
View file @
2c4e451f
...
@@ -162,7 +162,6 @@ public class SocketTargetServerConnectionTests {
...
@@ -162,7 +162,6 @@ public class SocketTargetServerConnectionTests {
channel
.
close
();
channel
.
close
();
}
}
catch
(
Exception
ex
)
{
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
fail
();
fail
();
}
}
}
}
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/context/properties/bind/CollectionBinderTests.java
View file @
2c4e451f
...
@@ -124,7 +124,6 @@ public class CollectionBinderTests {
...
@@ -124,7 +124,6 @@ public class CollectionBinderTests {
fail
(
"No exception thrown"
);
fail
(
"No exception thrown"
);
}
}
catch
(
BindException
ex
)
{
catch
(
BindException
ex
)
{
ex
.
printStackTrace
();
Set
<
ConfigurationProperty
>
unbound
=
((
UnboundConfigurationPropertiesException
)
ex
Set
<
ConfigurationProperty
>
unbound
=
((
UnboundConfigurationPropertiesException
)
ex
.
getCause
()).
getUnboundProperties
();
.
getCause
()).
getUnboundProperties
();
assertThat
(
unbound
).
hasSize
(
1
);
assertThat
(
unbound
).
hasSize
(
1
);
...
@@ -147,7 +146,6 @@ public class CollectionBinderTests {
...
@@ -147,7 +146,6 @@ public class CollectionBinderTests {
fail
(
"No exception thrown"
);
fail
(
"No exception thrown"
);
}
}
catch
(
BindException
ex
)
{
catch
(
BindException
ex
)
{
ex
.
printStackTrace
();
Set
<
ConfigurationProperty
>
unbound
=
((
UnboundConfigurationPropertiesException
)
ex
Set
<
ConfigurationProperty
>
unbound
=
((
UnboundConfigurationPropertiesException
)
ex
.
getCause
()).
getUnboundProperties
();
.
getCause
()).
getUnboundProperties
();
assertThat
(
unbound
).
hasSize
(
1
);
assertThat
(
unbound
).
hasSize
(
1
);
...
...
spring-boot-project/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/BeanCurrentlyInCreationFailureAnalyzerTests.java
View file @
2c4e451f
...
@@ -144,7 +144,6 @@ public class BeanCurrentlyInCreationFailureAnalyzerTests {
...
@@ -144,7 +144,6 @@ public class BeanCurrentlyInCreationFailureAnalyzerTests {
return
null
;
return
null
;
}
}
catch
(
Exception
ex
)
{
catch
(
Exception
ex
)
{
ex
.
printStackTrace
();
return
ex
;
return
ex
;
}
}
}
}
...
...
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