[LANG-1629] Delete white space (#678)

This commit is contained in:
LeeJuHyun 2020-12-22 02:21:40 +09:00 committed by GitHub
parent d704c0dc70
commit 1f2003041b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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);
}