Changeset 5856


Ignore:
Timestamp:
2003-11-17T10:11:35+13:00 (20 years ago)
Author:
mdewsnip
Message:

Hacked a change into parseClassify so that it doesn't ignore "classify Phind".

File:
1 edited

Legend:

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

    r5852 r5856  
    912912        CommandTokenizer tokenizer = new CommandTokenizer(command_str);
    913913        // Check the token count. The token count from a command tokenizer isn't guarenteed to be correct, but it does give the maximum number of available tokens according to the underlying StringTokenizer (some of which may actually be append together by the CommandTokenizer as being a single argument).
    914         if(tokenizer.countTokens() >= 4) {
     914        if(tokenizer.countTokens() >= 2) {  // Must support "classify Phind" (no args)
    915915        command_element = document.createElement(CLASSIFY_ELEMENT);
    916916        // First token is classify
Note: See TracChangeset for help on using the changeset viewer.