File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
spring-expression/src/main/java/org/springframework/expression/spel Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -687,9 +687,8 @@ public static boolean isPrimitiveOrUnboxableSupportedNumber(@Nullable String des
687
687
* Determine whether the given number is to be considered as an integer
688
688
* for the purposes of a numeric operation at the bytecode level.
689
689
* @param number the number to check
690
- * @return {@code true} if it is an {@link Integer}, {@link Short} or {@link Byte}
690
+ * @return {@code true} if it is an {@link Integer}, {@link Short}, or {@link Byte}
691
691
*/
692
- @ Contract ("null -> false" )
693
692
public static boolean isIntegerForNumericOp (Number number ) {
694
693
return (number instanceof Integer || number instanceof Short || number instanceof Byte );
695
694
}
You can’t perform that action at this time.
0 commit comments