Skip to content

Commit 534cad6

Browse files
committed
Merge branch '3.5.x'
2 parents 5e969f9 + c9014e3 commit 534cad6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-boot-project/spring-boot/src/test/java/org/springframework/boot/diagnostics/analyzer/NoSuchMethodFailureAnalyzerTests.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ void parseOpenJ9ErrorMessage() {
7777
void whenAMethodOnAClassIsMissingThenNoSuchMethodErrorIsAnalyzed() {
7878
Throwable failure = createFailureForMissingMethod();
7979
assertThat(failure).isNotNull();
80-
failure.printStackTrace();
8180
FailureAnalysis analysis = new NoSuchMethodFailureAnalyzer().analyze(failure);
8281
assertThat(analysis).isNotNull();
8382
assertThat(analysis.getDescription())
@@ -107,9 +106,8 @@ void whenAnInheritedMethodIsMissingThenNoSuchMethodErrorIsAnalyzed() {
107106

108107
private Throwable createFailureForMissingMethod() {
109108
try {
110-
System.out.println(MimeType.class.getProtectionDomain().getCodeSource().getLocation());
111109
MimeType mimeType = new MimeType("application", "json");
112-
System.out.println(mimeType.isMoreSpecific(null));
110+
mimeType.isMoreSpecific(null);
113111
return null;
114112
}
115113
catch (Throwable ex) {

0 commit comments

Comments
 (0)