Changeset 25163
- Timestamp:
- 2012-03-01T09:48:20+13:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/admin/gui/ConfPane.java
r25162 r25163 747 747 //This line is Setting line 748 748 int end_index = fileLine.indexOf("="); 749 conf_setting[i][1] = fileLine.substring(0, end_index).toUpperCase(); 750 conf_setting[i][2] = fileLine.substring(end_index + 1); 751 conf_table.put(conf_setting[i][1], conf_setting[i][2]); 752 i++; //calculat the number of settings 753 conf_array.add(fileLine); 749 if(end_index != -1) 750 { 751 conf_setting[i][1] = fileLine.substring(0, end_index).toUpperCase(); 752 conf_setting[i][2] = fileLine.substring(end_index + 1); 753 conf_table.put(conf_setting[i][1], conf_setting[i][2]); 754 i++; //calculat the number of settings 755 conf_array.add(fileLine); 756 } 754 757 } 755 758 else
Note:
See TracChangeset
for help on using the changeset viewer.