From 8f233786ed3a5969ebcbb8aeb8d5d82e852ac179 Mon Sep 17 00:00:00 2001 From: Sam Brannen Date: Fri, 29 May 2015 02:05:44 +0200 Subject: [PATCH] Polishing --- .../springframework/test/annotation/TestAnnotationUtils.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/spring-test/src/main/java/org/springframework/test/annotation/TestAnnotationUtils.java b/spring-test/src/main/java/org/springframework/test/annotation/TestAnnotationUtils.java index 8b88169f3d6..ec28fbf2308 100644 --- a/spring-test/src/main/java/org/springframework/test/annotation/TestAnnotationUtils.java +++ b/spring-test/src/main/java/org/springframework/test/annotation/TestAnnotationUtils.java @@ -41,9 +41,7 @@ public class TestAnnotationUtils { if (timed == null) { return 0; } - else { - return Math.max(0, timed.millis()); - } + return Math.max(0, timed.millis()); } /**