Painless: Correct ClassToName string conversion (#28997)

A typo of 'dimensions' rather than 'dimension' caused an infinite loop.
This commit is contained in:
Robin Neatherway 2018-03-13 20:16:48 +00:00 committed by Jack Conradson
parent 6dae955b6a
commit 6dadce4761
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ public final class Definition {
if (component == def.class) {
StringBuilder builder = new StringBuilder(def.class.getSimpleName());
for (int dimension = 0; dimension < dimensions; dimensions++) {
for (int dimension = 0; dimension < dimensions; dimension++) {
builder.append("[]");
}