Painless: Correct ClassToName string conversion (#28997)
A typo of 'dimensions' rather than 'dimension' caused an infinite loop.
This commit is contained in:
parent
6dae955b6a
commit
6dadce4761
|
@ -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("[]");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue