File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
spring-expression/src/main/java/org/springframework/expression/spel Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2024 the original author or authors.
2
+ * Copyright 2002-2025 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -691,9 +691,8 @@ public static boolean isPrimitiveOrUnboxableSupportedNumber(@Nullable String des
691
691
* Determine whether the given number is to be considered as an integer
692
692
* for the purposes of a numeric operation at the bytecode level.
693
693
* @param number the number to check
694
- * @return {@code true} if it is an {@link Integer}, {@link Short} or {@link Byte}
694
+ * @return {@code true} if it is an {@link Integer}, {@link Short}, or {@link Byte}
695
695
*/
696
- @ Contract ("null -> false" )
697
696
public static boolean isIntegerForNumericOp (Number number ) {
698
697
return (number instanceof Integer || number instanceof Short || number instanceof Byte );
699
698
}
You can’t perform that action at this time.
0 commit comments