From: <cl...@hy...> - 2008-04-29 00:11:53
|
Author: clee Date: 2008-04-28 17:11:50 -0700 (Mon, 28 Apr 2008) New Revision: 9227 URL: http://svn.hyperic.org/?view=rev&root=Hyperic+HQ&revision=9227 Modified: trunk/src/org/hyperic/hq/control/server/session/ControlHistory.java Log: Ask for the appdef entity key string explicitly, rather than relying on toString() behavior Modified: trunk/src/org/hyperic/hq/control/server/session/ControlHistory.java =================================================================== --- trunk/src/org/hyperic/hq/control/server/session/ControlHistory.java 2008-04-29 00:10:34 UTC (rev 9226) +++ trunk/src/org/hyperic/hq/control/server/session/ControlHistory.java 2008-04-29 00:11:50 UTC (rev 9227) @@ -6,7 +6,7 @@ * normal use of the program, and does *not* fall under the heading of * "derived work". * -* Copyright (C) [2004, 2005, 2006], 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 @@ -45,7 +45,6 @@ private long startTime; private String status; private long endTime; - private long duration; private String description; private String message; private String action; @@ -222,8 +221,8 @@ private String getEntityIdString() { AppdefEntityID id = new AppdefEntityID(getEntityType().intValue(), - getEntityId().intValue()); - return "" + id; + getEntityId()); + return id.getAppdefKey(); } public String getEntityName() { |