Ignore:
Timestamp:
2012-09-25T15:20:04+12:00 (12 years ago)
Author:
kjdon
Message:

trying to implement getCollectionText with no arguments for the dictionary string

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/util/Dictionary.java

    r18405 r26248  
    123123        initial = initial.substring(0, initial.indexOf("#"));
    124124        }
     125        // if we haven't been given any args, don't bother looking for them
     126        if (args == null) {
     127          return initial;
     128        }
    125129        // If the string contains arguments we have to insert them.
    126130        StringBuffer complete = new StringBuffer();
Note: See TracChangeset for help on using the changeset viewer.