Skip to content

Commit fb1c89f

Browse files
committed
AsyncGatewayTests: Fix to currentThread() method
1 parent 5fadaf5 commit fb1c89f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-integration-core/src/test/java/org/springframework/integration/gateway/AsyncGatewayTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ public void futureVoidReply() throws Exception {
248248
reply.complete(null);
249249
}
250250
catch (InterruptedException ex) {
251-
Thread.currentThread.interrupt();
251+
Thread.currentThread().interrupt();
252252
ReflectionUtils.rethrowRuntimeException(ex);
253253
}
254254
}).start();

0 commit comments

Comments
 (0)