Polishing

This commit is contained in:
Sam Brannen
2019-12-05 22:37:00 +01:00
parent c2141e2e93
commit 3b9d1a00b0
3 changed files with 46 additions and 98 deletions

View File

@@ -100,8 +100,7 @@ public class StandardAnnotationMetadata extends StandardClassMetadata implements
public Set<String> getAnnotationTypes() {
Set<String> annotationTypes = this.annotationTypes;
if (annotationTypes == null) {
annotationTypes = Collections.unmodifiableSet(
AnnotationMetadata.super.getAnnotationTypes());
annotationTypes = Collections.unmodifiableSet(AnnotationMetadata.super.getAnnotationTypes());
this.annotationTypes = annotationTypes;
}
return annotationTypes;

View File

@@ -156,6 +156,4 @@ final class SimpleAnnotationMetadata implements AnnotationMetadata {
return this.annotations;
}
}