mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
@Nullable all the way: null-safety at field level
This commits extends nullability declarations to the field level, formalizing the interaction between methods and their underlying fields and therefore avoiding any nullability mismatch. Issue: SPR-15720
This commit is contained in:
+1
@@ -1768,6 +1768,7 @@ public class SpelReproTests extends AbstractExpressionTests {
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
result = spel.getValue(context);
|
||||
assertNotNull(result);
|
||||
assertTrue(result.getClass().isArray());
|
||||
|
||||
Reference in New Issue
Block a user