Merge pull request #16658 from Christoph Dreis

* gh-16658:
  Optimize ConfigurationPropertyName.buildToString()

Closes gh-16658
This commit is contained in:
Andy Wilkinson 2019-04-25 17:19:17 +01:00
commit ed8a10b2fb
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));