Skip to content

Commit a61f7b4

Browse files
committed
Use equals instead of identity comparison
1 parent 71291e9 commit a61f7b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-web/src/main/java/org/springframework/web/method/support/InvocableHandlerMethod.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ private Object resolveProvidedArgument(MethodParameter parameter, @Nullable Obje
217217
*/
218218
protected Object doInvoke(Object... args) throws Exception {
219219
ReflectionUtils.makeAccessible(getBridgedMethod());
220-
if (kotlinFunction == KOTLIN_NOT_CHECKED) {
220+
if (KOTLIN_NOT_CHECKED.equals(kotlinFunction)) {
221221
initKotlinFunction();
222222
}
223223
try {

0 commit comments

Comments
 (0)