lvar should not hide ivar.

This commit is contained in:
Gary Gregory 2016-11-16 15:32:40 -08:00
parent 792e955673
commit f3d2d55ab9
1 changed files with 3 additions and 3 deletions

View File

@ -419,9 +419,9 @@ public class FastDateParser implements DateParser, Serializable {
public boolean parse(final String source, final ParsePosition pos, final Calendar calendar) {
final ListIterator<StrategyAndWidth> lt = patterns.listIterator();
while (lt.hasNext()) {
final StrategyAndWidth pattern = lt.next();
final int maxWidth = pattern.getMaxWidth(lt);
if (!pattern.strategy.parse(this, calendar, source, pos, maxWidth)) {
final StrategyAndWidth strategyAndWidth = lt.next();
final int maxWidth = strategyAndWidth.getMaxWidth(lt);
if (!strategyAndWidth.strategy.parse(this, calendar, source, pos, maxWidth)) {
return false;
}
}