- Timestamp:
- 2012-05-22T13:01:04+12:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/gsdl3/core/Receptionist.java
r25301 r25635 31 31 32 32 /** the set up variables */ 33 protected HashMap config_params = null;33 protected HashMap<String, Comparable> config_params = null; 34 34 /** container Document to create XML Nodes */ 35 35 protected Document doc = null; … … 42 42 43 43 /** the list of actions */ 44 protected HashMap action_map = null;44 protected HashMap<String, Action> action_map = null; 45 45 46 46 /** the list of params */ … … 49 49 50 50 /** the list of interfaces this is based on */ 51 protected ArrayList base_interfaces = null;51 protected ArrayList<String> base_interfaces = null; 52 52 53 53 public Receptionist() … … 55 55 this.converter = new XMLConverter(); 56 56 this.doc = this.converter.newDOM(); 57 this.action_map = new HashMap ();57 this.action_map = new HashMap<String, Action>(); 58 58 } 59 59 … … 67 67 } 68 68 69 public void setConfigParams(HashMap params)69 public void setConfigParams(HashMap<String, Comparable> params) 70 70 { 71 71 this.config_params = params; 72 72 } 73 73 74 public HashMap getConfigParams()74 public HashMap<String, Comparable> getConfigParams() 75 75 { 76 76 return this.config_params; … … 211 211 212 212 // find the appropriate action 213 Action a = (Action)this.action_map.get(action);213 Action a = this.action_map.get(action); 214 214 215 215 String action_name = null; … … 313 313 if (base_interfaces == null) 314 314 { 315 base_interfaces = new ArrayList ();315 base_interfaces = new ArrayList<String>(); 316 316 } 317 317 base_interfaces.add(base_interface);
Note:
See TracChangeset
for help on using the changeset viewer.