From e183cf5ffb34a5a2cc53139757d1a5903e931d9e Mon Sep 17 00:00:00 2001 From: Andy Janata Date: Mon, 17 Feb 2014 11:34:28 -0800 Subject: [PATCH] Explicitly declare we want 1.6.0_45. Remove 1.7-only method call. --- .classpath | 2 +- src/net/socialgamer/cah/CahModule.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.classpath b/.classpath index 18a7d0a..70f2038 100644 --- a/.classpath +++ b/.classpath @@ -62,6 +62,6 @@ - + diff --git a/src/net/socialgamer/cah/CahModule.java b/src/net/socialgamer/cah/CahModule.java index 8778e2e..c08a773 100644 --- a/src/net/socialgamer/cah/CahModule.java +++ b/src/net/socialgamer/cah/CahModule.java @@ -83,7 +83,8 @@ public class CahModule extends AbstractModule { return t; } }); - threadPool.setRemoveOnCancelPolicy(true); + // TODO: once I get 1.7 on my servers, uncomment this + // threadPool.setRemoveOnCancelPolicy(true); bind(ScheduledThreadPoolExecutor.class).toInstance(threadPool); }