From: <cl...@hy...> - 2008-04-29 00:10:43
|
Author: clee Date: 2008-04-28 17:10:34 -0700 (Mon, 28 Apr 2008) New Revision: 9226 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=9226 Modified: trunk/src/org/hyperic/hq/control/ControlEvent.java Log: Don't need to convert to int from Integer for AppdefEntityID Modified: trunk/src/org/hyperic/hq/control/ControlEvent.java =================================================================== --- trunk/src/org/hyperic/hq/control/ControlEvent.java 2008-04-28 22:39:15 UTC (rev 9225) +++ trunk/src/org/hyperic/hq/control/ControlEvent.java 2008-04-29 00:10:34 UTC (rev 9226) @@ -6,7 +6,7 @@ * normal use of the program, and does *not* fall under the heading of * "derived work". * - * Copyright (C) [2004-2007], Hyperic, Inc. + * Copyright (C) [2004-2008], Hyperic, Inc. * This file is part of HQ. * * HQ is free software; you can redistribute it and/or modify @@ -54,8 +54,7 @@ super.setInstanceId(resourceId); super.setTimestamp(System.currentTimeMillis()); this.subject = subject; - this.resource = - new AppdefEntityID(resourcetype, resourceId.intValue()); + this.resource = new AppdefEntityID(resourcetype, resourceId); this.action = action; this.scheduled = scheduled; this.dateScheduled = dateScheduled; |