From 1f2003041b37834ac9fbf78659c19372650ab355 Mon Sep 17 00:00:00 2001 From: LeeJuHyun <50076031+JuHyun419@users.noreply.github.com> Date: Tue, 22 Dec 2020 02:21:40 +0900 Subject: [PATCH] [LANG-1629] Delete white space (#678) --- .../org/apache/commons/lang3/time/DurationFormatUtils.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java b/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java index c2b55c2dc..8e36a85a8 100644 --- a/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java +++ b/src/main/java/org/apache/commons/lang3/time/DurationFormatUtils.java @@ -343,7 +343,7 @@ public class DurationFormatUtils { } else { // there are no M's in the format string - if ( !Token.containsTokenWithValue(tokens, y) ) { + if (!Token.containsTokenWithValue(tokens, y)) { int target = end.get(Calendar.YEAR); if (months < 0) { // target is end-year -1 @@ -368,7 +368,7 @@ public class DurationFormatUtils { years = 0; } - while ( start.get(Calendar.MONTH) != end.get(Calendar.MONTH) ) { + while (start.get(Calendar.MONTH) != end.get(Calendar.MONTH)) { days += start.getActualMaximum(Calendar.DAY_OF_MONTH); start.add(Calendar.MONTH, 1); }