Optimize ConfigurationPropertyName.buildToString()

See gh-16658
This commit is contained in:
dreis2211 2019-04-25 17:11:51 +02:00 committed by Andy Wilkinson
parent 32040e355b
commit cf05959375
1 changed files with 2 additions and 2 deletions

View File

@ -448,9 +448,9 @@ public final class ConfigurationPropertyName
result.append('.');
}
if (indexed) {
result.append("[");
result.append('[');
result.append(getElement(i, Form.ORIGINAL));
result.append("]");
result.append(']');
}
else {
result.append(getElement(i, Form.DASHED));