mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-08 11:05:09 +00:00
lvar should not hide ivar.
This commit is contained in:
parent
792e955673
commit
f3d2d55ab9
@ -419,9 +419,9 @@ public Date parse(final String source, final ParsePosition pos) {
|
|||||||
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…
x
Reference in New Issue
Block a user