- 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/guiext/Command.java
r22185 r25635 15 15 public class Command implements Runnable 16 16 { 17 HashMap _osCommands = new HashMap();17 HashMap<String, String> _osCommands = new HashMap<String, String>(); 18 18 CommandStep _parent = null; 19 19 … … 133 133 String currentos = System.getProperty("os.name"); 134 134 135 String command = (String)_osCommands.get(currentos);135 String command = _osCommands.get(currentos); 136 136 if(command != null){ 137 137 return command; … … 139 139 140 140 if(currentos.contains("Windows")){ 141 command = (String)_osCommands.get("Windows");141 command = _osCommands.get("Windows"); 142 142 143 143 if(command != null){ … … 145 145 } 146 146 } 147 return (String)_osCommands.get("default");147 return _osCommands.get("default"); 148 148 } 149 149
Note:
See TracChangeset
for help on using the changeset viewer.