Remove unused constructor parameter
This commit is contained in:
parent
ca9510db02
commit
72bbbbc559
|
@ -637,7 +637,7 @@ public class FastDateParser implements DateParser, Serializable {
|
|||
Strategy strategy = cache.get(locale);
|
||||
if (strategy == null) {
|
||||
strategy = field == Calendar.ZONE_OFFSET
|
||||
? new TimeZoneStrategy(definingCalendar, locale)
|
||||
? new TimeZoneStrategy(locale)
|
||||
: new CaseInsensitiveTextStrategy(field, definingCalendar, locale);
|
||||
final Strategy inCache = cache.putIfAbsent(locale, strategy);
|
||||
if (inCache != null) {
|
||||
|
@ -836,10 +836,9 @@ public class FastDateParser implements DateParser, Serializable {
|
|||
|
||||
/**
|
||||
* Construct a Strategy that parses a TimeZone
|
||||
* @param cal TODO
|
||||
* @param locale The Locale
|
||||
*/
|
||||
TimeZoneStrategy(Calendar cal, final Locale locale) {
|
||||
TimeZoneStrategy(final Locale locale) {
|
||||
this.locale = locale;
|
||||
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
|
Loading…
Reference in New Issue