Fix failing test

This commit is contained in:
Rossen Stoyanchev 2014-06-25 15:51:36 -04:00
parent 502022acca
commit 0f47732523
1 changed files with 1 additions and 1 deletions

View File

@ -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() {