- 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/admin/gui/ConfPane.java
r25163 r25635 81 81 82 82 protected JPanel main_contentPane = null; 83 public Hashtable conf_table;83 public Hashtable<Object, Object> conf_table; 84 84 85 85 /** The panel that contains a Conf_list */ … … 158 158 159 159 //An array to store all the details in the build.properties file 160 private ArrayList conf_array;160 private ArrayList<String> conf_array; 161 161 162 162 //Site configuration … … 172 172 public ConfPane() 173 173 { 174 conf_table = new Hashtable ();174 conf_table = new Hashtable<Object, Object>(); 175 175 // create all the control button panes 176 176 inner_control_pane = new JPanel(); … … 652 652 { 653 653 String new_string; 654 Enumeration keys = conf_table.keys();654 Enumeration<Object> keys = conf_table.keys(); 655 655 String key; 656 656 String value; … … 662 662 for (int j = 0; j < conf_array.size(); j++) 663 663 { 664 if ( ((String) conf_array.get(j)).startsWith(key.toLowerCase()))664 if (conf_array.get(j).startsWith(key.toLowerCase())) 665 665 { 666 666 new_string = key + "=" + value; … … 719 719 * store all the details from the build.properties 720 720 */ 721 conf_array = new ArrayList ();721 conf_array = new ArrayList<String>(); 722 722 conf_setting = new Object[rowLength][colLength]; 723 723 try
Note:
See TracChangeset
for help on using the changeset viewer.