Skip to content

Commit dc0d6a4

Browse files
committed
Polish
1 parent 93206c3 commit dc0d6a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-core-test/src/main/java/org/springframework/core/test/tools/TestCompiler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ public void report(Diagnostic<? extends JavaFileObject> diagnostic) {
393393
}
394394

395395
boolean hasReportedErrors() {
396-
return this.message.length() > 0;
396+
return !this.message.isEmpty();
397397
}
398398

399399
@Override

0 commit comments

Comments
 (0)