Polish
This commit is contained in:
parent
85363f7d94
commit
df944c6354
|
|
@ -443,6 +443,7 @@ This feature could also be useful for any service wrapper implementation.
|
|||
TIP: If you want to know on which HTTP port the application is running, get the property with a key of `local.server.port`.
|
||||
|
||||
|
||||
|
||||
[[boot-features-application-startup-tracking]]
|
||||
=== Application Startup tracking
|
||||
During the application startup, the `SpringApplication` and the `ApplicationContext` perform many tasks related to the application lifecycle,
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue