Remove useless parens

This commit is contained in:
Gary Gregory 2022-08-07 08:47:25 -04:00
parent c75d285b7e
commit 9f71c33b00
1 changed files with 1 additions and 1 deletions

View File

@ -667,7 +667,7 @@ public class FastDateParser implements DateParser, Serializable {
*/
private Strategy getLocaleSpecificStrategy(final int field, final Calendar definingCalendar) {
final ConcurrentMap<Locale, Strategy> cache = getCache(field);
return cache.computeIfAbsent(locale, k -> (field == Calendar.ZONE_OFFSET ? new TimeZoneStrategy(locale) : new CaseInsensitiveTextStrategy(field, definingCalendar, locale)));
return cache.computeIfAbsent(locale, k -> field == Calendar.ZONE_OFFSET ? new TimeZoneStrategy(locale) : new CaseInsensitiveTextStrategy(field, definingCalendar, locale));
}
/**