Revise @⁠Nullable declarations for consistency with usage in 7.0

This commit is contained in:
Sam Brannen
2025-01-18 15:07:46 +01:00
parent 863ccd81d5
commit ef05b82920

View File

@@ -78,8 +78,7 @@ public abstract class BeanOverrideHandler {
Comparator.<MergedAnnotation<? extends Annotation>> comparingInt(MergedAnnotation::getDistance).reversed(); Comparator.<MergedAnnotation<? extends Annotation>> comparingInt(MergedAnnotation::getDistance).reversed();
@Nullable private final @Nullable Field field;
private final Field field;
private final Set<Annotation> qualifierAnnotations; private final Set<Annotation> qualifierAnnotations;
@@ -213,8 +212,7 @@ public abstract class BeanOverrideHandler {
/** /**
* Get the annotated {@link Field}. * Get the annotated {@link Field}.
*/ */
@Nullable public final @Nullable Field getField() {
public final Field getField() {
return this.field; return this.field;
} }