Commit d4fba783 authored by Johnny Lim's avatar Johnny Lim Committed by Stephane Nicoll

Remove ex.printStackTrace() in tests

Closes gh-13952
parent 3d85873a
......@@ -188,7 +188,6 @@ public class LiveReloadServerTests {
super.run();
}
catch (ConnectionClosedException ex) {
ex.printStackTrace();
synchronized (MonitoredLiveReloadServer.this.monitor) {
MonitoredLiveReloadServer.this.closedExceptions.add(ex);
}
......
......@@ -162,7 +162,6 @@ public class SocketTargetServerConnectionTests {
channel.close();
}
catch (Exception ex) {
ex.printStackTrace();
fail();
}
}
......
......@@ -124,7 +124,6 @@ public class CollectionBinderTests {
fail("No exception thrown");
}
catch (BindException ex) {
ex.printStackTrace();
Set<ConfigurationProperty> unbound = ((UnboundConfigurationPropertiesException) ex
.getCause()).getUnboundProperties();
assertThat(unbound).hasSize(1);
......@@ -147,7 +146,6 @@ public class CollectionBinderTests {
fail("No exception thrown");
}
catch (BindException ex) {
ex.printStackTrace();
Set<ConfigurationProperty> unbound = ((UnboundConfigurationPropertiesException) ex
.getCause()).getUnboundProperties();
assertThat(unbound).hasSize(1);
......
......@@ -144,7 +144,6 @@ public class BeanCurrentlyInCreationFailureAnalyzerTests {
return null;
}
catch (Exception ex) {
ex.printStackTrace();
return ex;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment