Changeset 13339


Ignore:
Timestamp:
2006-11-24T15:35:41+13:00 (17 years ago)
Author:
mdewsnip
Message:

Stopped this from continually writing "#defaultlevel" lines out to the collect.cfg file.

File:
1 edited

Legend:

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

    r13326 r13339  
    798798
    799799    static private String indexOptionDefaultToString(Element command_element) {
     800    // Don't bother if there is no value
     801    if (command_element.getAttribute(StaticStrings.VALUE_ATTRIBUTE).equals("")) {
     802        return "";
     803    }
    800804    StringBuffer text = new StringBuffer("");
    801805    if(command_element.getAttribute(StaticStrings.ASSIGNED_ATTRIBUTE).equals(StaticStrings.FALSE_STR)) {
     
    950954            }
    951955            if(command_element == null && command_type.equals(StaticStrings.COMMENTED_LEVEL_DEFAULT_STR)) {
    952            
    953956            command_element = parseIndexOptionDefault(command_str, StaticStrings.LEVEL_DEFAULT_STR, false);
    954957            }
Note: See TracChangeset for help on using the changeset viewer.