Make room for laziness in the Annotations interface
This commit is contained in:
+1
-1
@@ -431,7 +431,7 @@ public class DescriptorSerializer {
|
||||
}
|
||||
|
||||
private static boolean hasAnnotations(Annotated descriptor) {
|
||||
return !descriptor.getAnnotations().getAnnotationDescriptors().isEmpty();
|
||||
return !descriptor.getAnnotations().isEmpty();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user