Nullability refinements on private and static methods
Based on IntelliJ IDEA 2017.3 introspection results. Issue: SPR-15756
This commit is contained in:
@@ -381,7 +381,6 @@ public class SpelParserTests {
|
||||
checkNumber("22", 22, Integer.class);
|
||||
checkNumber("+22", 22, Integer.class);
|
||||
checkNumber("-22", -22, Integer.class);
|
||||
|
||||
checkNumber("2L", 2L, Long.class);
|
||||
checkNumber("22l", 22L, Long.class);
|
||||
|
||||
@@ -392,13 +391,10 @@ public class SpelParserTests {
|
||||
|
||||
checkNumberError("0x", SpelMessage.NOT_AN_INTEGER);
|
||||
checkNumberError("0xL", SpelMessage.NOT_A_LONG);
|
||||
|
||||
checkNumberError(".324", SpelMessage.UNEXPECTED_DATA_AFTER_DOT);
|
||||
|
||||
checkNumberError("3.4L", SpelMessage.REAL_CANNOT_BE_LONG);
|
||||
|
||||
checkNumber("3.5f", 3.5f, Float.class);
|
||||
|
||||
checkNumber("1.2e3", 1.2e3d, Double.class);
|
||||
checkNumber("1.2e+3", 1.2e3d, Double.class);
|
||||
checkNumber("1.2e-3", 1.2e-3d, Double.class);
|
||||
|
||||
Reference in New Issue
Block a user