Revert some changes from 3042a80f
Too many places right now depend on `KotlinClassHeader.data` and `KotlinClassHeader.strings` being saved even if empty, and not being null See KT-39492
This commit is contained in:
-4
@@ -200,10 +200,8 @@ public class ReadKotlinClassHeaderAnnotationVisitor implements AnnotationVisitor
|
|||||||
return new CollectStringArrayAnnotationVisitor() {
|
return new CollectStringArrayAnnotationVisitor() {
|
||||||
@Override
|
@Override
|
||||||
protected void visitEnd(@NotNull String[] result) {
|
protected void visitEnd(@NotNull String[] result) {
|
||||||
if (result.length > 0) {
|
|
||||||
data = result;
|
data = result;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -212,10 +210,8 @@ public class ReadKotlinClassHeaderAnnotationVisitor implements AnnotationVisitor
|
|||||||
return new CollectStringArrayAnnotationVisitor() {
|
return new CollectStringArrayAnnotationVisitor() {
|
||||||
@Override
|
@Override
|
||||||
protected void visitEnd(@NotNull String[] result) {
|
protected void visitEnd(@NotNull String[] result) {
|
||||||
if (result.length > 0) {
|
|
||||||
strings = result;
|
strings = result;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user