Remove ex.printStackTrace() in tests
Closes gh-13952
This commit is contained in:
committed by
Stephane Nicoll
parent
3d85873a8a
commit
d4fba783fb
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user