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:
Roman Golyshev
2022-08-25 12:18:44 +02:00
committed by teamcity
parent 3d8d3465d9
commit 3ea78ae745
@@ -200,9 +200,7 @@ public class ReadKotlinClassHeaderAnnotationVisitor implements AnnotationVisitor
return new CollectStringArrayAnnotationVisitor() {
@Override
protected void visitEnd(@NotNull String[] result) {
if (result.length > 0) {
data = result;
}
data = result;
}
};
}
@@ -212,9 +210,7 @@ public class ReadKotlinClassHeaderAnnotationVisitor implements AnnotationVisitor
return new CollectStringArrayAnnotationVisitor() {
@Override
protected void visitEnd(@NotNull String[] result) {
if (result.length > 0) {
strings = result;
}
strings = result;
}
};
}