mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Revise @Nullable declarations for consistency with usage in 7.0
This commit is contained in:
+2
-4
@@ -78,8 +78,7 @@ public abstract class BeanOverrideHandler {
|
||||
Comparator.<MergedAnnotation<? extends Annotation>> comparingInt(MergedAnnotation::getDistance).reversed();
|
||||
|
||||
|
||||
@Nullable
|
||||
private final Field field;
|
||||
private final @Nullable Field field;
|
||||
|
||||
private final Set<Annotation> qualifierAnnotations;
|
||||
|
||||
@@ -213,8 +212,7 @@ public abstract class BeanOverrideHandler {
|
||||
/**
|
||||
* Get the annotated {@link Field}.
|
||||
*/
|
||||
@Nullable
|
||||
public final Field getField() {
|
||||
public final @Nullable Field getField() {
|
||||
return this.field;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user