Explicitly declare we want 1.6.0_45. Remove 1.7-only method call.

This commit is contained in:
Andy Janata 2014-02-17 11:34:28 -08:00
parent 6a158cde8f
commit e183cf5ffb
2 changed files with 3 additions and 2 deletions

View File

@ -62,6 +62,6 @@
<attribute name="org.eclipse.jst.component.nondependency" value=""/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.6.0_45"/>
<classpathentry kind="output" path="build/classes"/>
</classpath>

View File

@ -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);
}