Changeset 10323
- Timestamp:
- 2005-07-27T11:54:29+12:00 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/file/FileAssociationManager.java
r9657 r10323 122 122 } 123 123 } 124 124 125 125 // if we still haven't found something, prompt the user 126 126 if (command == null) { … … 199 199 dialog = null; 200 200 } 201 201 202 // Hopefully by now we have a command, or else we're never going to get one. Add the association. 202 if (command != null) {203 if (command != null && !command.equals("")) { 203 204 // If no previous entry existed create one. 204 205 if(entry == null) { … … 212 213 } 213 214 } 214 if(command != null) { 215 215 216 if (command != null && !command.equals("")) { 216 217 // Make the command into a string [] 217 218 commands = command.split(" "); … … 228 229 commands[i] = commands[i].replaceAll(FILENAME_ARG, filename); 229 230 } 230 231 231 } 232 232
Note:
See TracChangeset
for help on using the changeset viewer.