ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java
(Generate patch)

Comparing projects/cms/source/util/uk/org/iscream/cms/util/XMLPacket.java (file contents):
Revision 1.3 by tdb, Wed Nov 29 19:11:53 2000 UTC vs.
Revision 1.4 by tdb, Thu Nov 30 02:04:18 2000 UTC

# Line 28 | Line 28 | public class XMLPacket {
28  
29      // Add a key and value pair to the HashMap.
30      public synchronized void addParam (String key, String value) {
31 <        params.put(key, value);        
31 >        _params.put(key, value);        
32          // debug by println ;-)
33          // System.out.println("Adding to hash: " + key + " = " + value);
34          // end debug code
# Line 39 | Line 39 | public class XMLPacket {
39      // this should not necessarily indicate that the key
40      // does not exist.
41      public synchronized String getParam (String key) {
42 <        return (String)params.get(key);
42 >        return (String) _params.get(key);
43      }
44      
45      // Print out the entire HashMap.
46      // (Mainly for assisting debugging.)
47      public synchronized String printAll () {
48 <        return params.toString();
48 >        return _params.toString();
49      }
50  
51      /**
# Line 64 | Line 64 | public class XMLPacket {
64  
65   //---ATTRIBUTES---
66  
67 <    private HashMap params = new HashMap();
67 >    private HashMap _params = new HashMap();
68  
69   //---STATIC ATTRIBUTES---
70  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines