Polish
This commit is contained in:
@@ -126,16 +126,16 @@ class BufferedStartupStep implements StartupStep {
|
||||
|
||||
private class TagsIterator implements Iterator<Tag> {
|
||||
|
||||
private int idx = 0;
|
||||
private int index = 0;
|
||||
|
||||
@Override
|
||||
public boolean hasNext() {
|
||||
return this.idx < DefaultTags.this.tags.length;
|
||||
return this.index < DefaultTags.this.tags.length;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Tag next() {
|
||||
return DefaultTags.this.tags[this.idx++];
|
||||
return DefaultTags.this.tags[this.index++];
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -326,12 +326,10 @@ public final class ConfigurationPropertyName implements Comparable<Configuration
|
||||
if (type1.allowsFastEqualityCheck() && type2.allowsFastEqualityCheck()) {
|
||||
return !fastElementEquals(e1, e2, i);
|
||||
}
|
||||
else if (type1.allowsDashIgnoringEqualityCheck() && type2.allowsDashIgnoringEqualityCheck()) {
|
||||
if (type1.allowsDashIgnoringEqualityCheck() && type2.allowsDashIgnoringEqualityCheck()) {
|
||||
return !dashIgnoringElementEquals(e1, e2, i);
|
||||
}
|
||||
else {
|
||||
return !defaultElementEquals(e1, e2, i);
|
||||
}
|
||||
return !defaultElementEquals(e1, e2, i);
|
||||
}
|
||||
|
||||
private boolean fastElementEquals(Elements e1, Elements e2, int i) {
|
||||
|
||||
Reference in New Issue
Block a user