Skip to content

Commit 580adfc

Browse files
committed
Polishing
1 parent d151931 commit 580adfc

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

+1-2
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,6 @@ else if (targetException instanceof Exception exception) {
280280

281281
/**
282282
* Invoke the given Kotlin coroutine suspended function.
283-
*
284283
* <p>The default implementation invokes
285284
* {@link CoroutinesUtils#invokeSuspendingFunction(Method, Object, Object...)},
286285
* but subclasses can override this method to use
@@ -292,6 +291,7 @@ protected Object invokeSuspendingFunction(Method method, Object target, Object[]
292291
return CoroutinesUtils.invokeSuspendingFunction(method, target, args);
293292
}
294293

294+
295295
/**
296296
* Inner class to avoid a hard dependency on Kotlin at runtime.
297297
*/
@@ -334,7 +334,6 @@ public static Object invokeFunction(Method method, Object target, Object[] args)
334334
Object result = function.callBy(argMap);
335335
return (result == Unit.INSTANCE ? null : result);
336336
}
337-
338337
}
339338

340339
}

spring-webflux/src/main/java/org/springframework/web/reactive/result/method/InvocableHandlerMethod.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,6 +311,7 @@ private boolean isResponseHandled(Object[] args, ServerWebExchange exchange) {
311311
return false;
312312
}
313313

314+
314315
/**
315316
* Inner class to avoid a hard dependency on Kotlin at runtime.
316317
*/
@@ -369,7 +370,6 @@ public static Object invokeFunction(Method method, Object target, Object[] args,
369370
return (result == Unit.INSTANCE ? null : result);
370371
}
371372
}
372-
373373
}
374374

375375
}

0 commit comments

Comments
 (0)