From: <sc...@hy...> - 2010-02-25 21:50:21
|
Author: scottmf Date: 2010-02-25 13:50:12 -0800 (Thu, 25 Feb 2010) New Revision: 14323 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=14323 Modified: trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java Log: fix int error Modified: trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java =================================================================== --- trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java 2010-02-25 18:18:18 UTC (rev 14322) +++ trunk/src/org/hyperic/hq/escalation/server/session/EscalationManagerEJBImpl.java 2010-02-25 21:50:12 UTC (rev 14323) @@ -522,7 +522,8 @@ try { if (alertType instanceof GalertEscalationAlertType) { - isAlertNotFound = (GalertManagerEJBImpl.getOne().getAlertLog(s.getAlertId()) == null); + isAlertNotFound = + GalertManagerEJBImpl.getOne().getAlertLog(new Integer(s.getAlertId())) == null; } else if (alertType instanceof ClassicEscalationAlertType) { // HHQ-3499, need to make sure that the alertId that is pointed to by // the escalation still exists |