Skip to content

Commit 8f23378

Browse files
committed
Polishing
1 parent 7018747 commit 8f23378

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spring-test/src/main/java/org/springframework/test/annotation/TestAnnotationUtils.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,7 @@ public static long getTimeout(Method method) {
4141
if (timed == null) {
4242
return 0;
4343
}
44-
else {
45-
return Math.max(0, timed.millis());
46-
}
44+
return Math.max(0, timed.millis());
4745
}
4846

4947
/**

0 commit comments

Comments
 (0)