@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:
@@ -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