Changeset 4568


Ignore:
Timestamp:
2003-06-11T14:14:02+12:00 (21 years ago)
Author:
kjdon
Message:

fixed a bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/cdm/Argument.java

    r4558 r4568  
    373373    case STRING:
    374374        // we need to put quotes if they are not there
    375         if (value.indexOf(' ') != -1 && value.indexOf('"')==-1) {
     375        if (value != null && value.indexOf(' ') != -1 && value.indexOf('"')==-1) {
    376376        // if there is a space and we haven't got any quotes
    377377        return "-" + name + " \"" + value + "\"";
Note: See TracChangeset for help on using the changeset viewer.