Commit 069beec5 authored by Eric Bruneton's avatar Eric Bruneton

Fix the issue. Make the previously added test pass.

parent adb47e5f
Pipeline #763 passed with stage
in 5 minutes and 56 seconds
......@@ -696,7 +696,7 @@ public class Type {
*/
private static void appendDescriptor(final StringBuilder stringBuilder, final Class<?> clazz) {
Class<?> currentClass = clazz;
if (currentClass.isArray()) {
while (currentClass.isArray()) {
stringBuilder.append('[');
currentClass = currentClass.getComponentType();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment