Fix failing test
This commit is contained in:
parent
502022acca
commit
0f47732523
|
|
@ -40,7 +40,7 @@ public class SockJsThreadPoolTaskScheduler extends ThreadPoolTaskScheduler {
|
|||
|
||||
// Check for setRemoveOnCancelPolicy method - available on JDK 7 and higher
|
||||
private static boolean hasRemoveOnCancelPolicyMethod = ClassUtils.hasMethod(
|
||||
ScheduledThreadPoolExecutor.class, "setRemoveOnCancelPolicy", Boolean.class);
|
||||
ScheduledThreadPoolExecutor.class, "setRemoveOnCancelPolicy", boolean.class);
|
||||
|
||||
|
||||
public SockJsThreadPoolTaskScheduler() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue