Changeset 18686


Ignore:
Timestamp:
03/15/09 16:08:44 (12 years ago)
Author:
kjdon
Message:

renamed STEMOPTIONS to INDEXOPTIONS as that is what it is in config file, and getStemOptions is now getIndexOptions

File:
1 edited

Legend:

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

    r18639 r18686  
    378378    }
    379379   
    380     public Element getStemOptions () {
    381         return getOrCreateElementByTagName (StaticStrings.INDEXOPTIONS_ELEMENT, StaticStrings.NAME_ATTRIBUTE, StaticStrings.STEMOPTIONS_STR);
     380    public Element getIndexOptions () {
     381        return getOrCreateElementByTagName (StaticStrings.INDEXOPTIONS_ELEMENT, StaticStrings.NAME_ATTRIBUTE, StaticStrings.INDEXOPTIONS_STR);
    382382    }
    383383   
     
    828828                        command_element = parseIndexOptionDefault (command_str, StaticStrings.LEVEL_DEFAULT_STR, false);
    829829                    }
    830                     if (command_element == null && command_type.equals (StaticStrings.STEMOPTIONS_STR)) {
    831                         command_element = parseIndexOptions (command_str, StaticStrings.STEMOPTIONS_STR, true);
    832                     }
    833                     if (command_element == null && command_type.equals (StaticStrings.COMMENTED_STEMOPTIONS_STR)) {
    834                         command_element = parseIndexOptions (command_str, StaticStrings.STEMOPTIONS_STR, false);
     830                    if (command_element == null && command_type.equals (StaticStrings.INDEXOPTIONS_STR)) {
     831                        command_element = parseIndexOptions (command_str, StaticStrings.INDEXOPTIONS_STR, true);
     832                    }
     833                    if (command_element == null && command_type.equals (StaticStrings.COMMENTED_INDEXOPTIONS_STR)) {
     834                        command_element = parseIndexOptions (command_str, StaticStrings.INDEXOPTIONS_STR, false);
    835835                    }
    836836                    if(command_element == null && command_type.equals (StaticStrings.COLLECTIONMETADATA_STR)) {
Note: See TracChangeset for help on using the changeset viewer.