lvar should not hide ivar.
This commit is contained in:
parent
792e955673
commit
f3d2d55ab9
|
@ -419,9 +419,9 @@ public class FastDateParser implements DateParser, Serializable {
|
||||||
public boolean parse(final String source, final ParsePosition pos, final Calendar calendar) {
|
public boolean parse(final String source, final ParsePosition pos, final Calendar calendar) {
|
||||||
final ListIterator<StrategyAndWidth> lt = patterns.listIterator();
|
final ListIterator<StrategyAndWidth> lt = patterns.listIterator();
|
||||||
while (lt.hasNext()) {
|
while (lt.hasNext()) {
|
||||||
final StrategyAndWidth pattern = lt.next();
|
final StrategyAndWidth strategyAndWidth = lt.next();
|
||||||
final int maxWidth = pattern.getMaxWidth(lt);
|
final int maxWidth = strategyAndWidth.getMaxWidth(lt);
|
||||||
if (!pattern.strategy.parse(this, calendar, source, pos, maxWidth)) {
|
if (!strategyAndWidth.strategy.parse(this, calendar, source, pos, maxWidth)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue