Explicitly declare we want 1.6.0_45. Remove 1.7-only method call.
This commit is contained in:
parent
6a158cde8f
commit
e183cf5ffb
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue