Don't need a copy of this field.

This commit is contained in:
Gary Gregory 2016-11-16 16:43:33 -08:00
parent ec700cf69d
commit ab0570e63a
1 changed files with 2 additions and 2 deletions

View File

@ -162,7 +162,7 @@ public class FastDateParser implements DateParser, Serializable {
private void init(final Calendar definingCalendar) {
patterns = new ArrayList<>();
final StrategyParser fm = new StrategyParser(pattern, definingCalendar);
final StrategyParser fm = new StrategyParser(definingCalendar);
for(;;) {
final StrategyAndWidth field = fm.getNextStrategy();
if(field==null) {
@ -204,7 +204,7 @@ public class FastDateParser implements DateParser, Serializable {
final private Calendar definingCalendar;
private int currentIdx;
StrategyParser(final String pattern, final Calendar definingCalendar) {
StrategyParser(final Calendar definingCalendar) {
this.definingCalendar = definingCalendar;
}