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

View File

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