--- projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java 2000/11/29 19:11:53 1.3 +++ projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java 2000/11/30 02:04:18 1.4 @@ -9,7 +9,7 @@ import java.util.HashMap; * to be passed around the CORBA system. * * @author $Author: tdb $ - * @version $Id: XMLPacket.java,v 1.3 2000/11/29 19:11:53 tdb Exp $ + * @version $Id: XMLPacket.java,v 1.4 2000/11/30 02:04:18 tdb Exp $ */ public class XMLPacket { @@ -18,7 +18,7 @@ public class XMLPacket { /** * The current CVS revision of this class */ - public final String REVISION = "$Revision: 1.3 $"; + public final String REVISION = "$Revision: 1.4 $"; //---STATIC METHODS--- @@ -28,7 +28,7 @@ public class XMLPacket { // Add a key and value pair to the HashMap. public synchronized void addParam (String key, String value) { - params.put(key, value); + _params.put(key, value); // debug by println ;-) // System.out.println("Adding to hash: " + key + " = " + value); // end debug code @@ -39,13 +39,13 @@ public class XMLPacket { // this should not necessarily indicate that the key // does not exist. public synchronized String getParam (String key) { - return (String)params.get(key); + return (String) _params.get(key); } // Print out the entire HashMap. // (Mainly for assisting debugging.) public synchronized String printAll () { - return params.toString(); + return _params.toString(); } /** @@ -64,7 +64,7 @@ public class XMLPacket { //---ATTRIBUTES--- - private HashMap params = new HashMap(); + private HashMap _params = new HashMap(); //---STATIC ATTRIBUTES---