From: <sc...@hy...> - 2010-04-07 22:10:03
|
Author: scottmf Date: 2010-04-07 15:09:54 -0700 (Wed, 07 Apr 2010) New Revision: 14485 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14485 Modified: trunk/src/org/hyperic/hq/escalation/server/session/EscalationRuntime.java Log: [HHQ-3845] TimeUnit.DAYS does not exist in jdk 1.5 Modified: trunk/src/org/hyperic/hq/escalation/server/session/EscalationRuntime.java =================================================================== --- trunk/src/org/hyperic/hq/escalation/server/session/EscalationRuntime.java 2010-04-07 21:42:04 UTC (rev 14484) +++ trunk/src/org/hyperic/hq/escalation/server/session/EscalationRuntime.java 2010-04-07 22:09:54 UTC (rev 14485) @@ -91,7 +91,7 @@ // backport apis but don't think this is a good idea) // 3 threads to service requests _executor = - new ThreadPoolExecutor(3, 3, Long.MAX_VALUE, TimeUnit.DAYS, new LinkedBlockingQueue()); + new ThreadPoolExecutor(3, 3, Long.MAX_VALUE, TimeUnit.SECONDS, new LinkedBlockingQueue()); _esclMan = EscalationManagerEJBImpl.getOne(); } |