Changeset 25303

Show
Ignore:
Timestamp:
27.03.2012 15:16:47 (8 years ago)
Author:
kjdon
Message:

use String constant instead of hard coding a string

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/service/AbstractBrowse.java

    r24393 r25303  
    8787        macro_resolver.setSiteDetails(this.site_http_address, this.cluster_name, this.library_name); 
    8888        // set up the macro resolver 
    89         Element replacement_elem = (Element)GSXML.getChildByTagName(extra_info, "replaceList"); 
     89        Element replacement_elem = (Element)GSXML.getChildByTagName(extra_info, GSXML.REPLACE_ELEM+GSXML.LIST_MODIFIER); 
    9090        if (replacement_elem != null) { 
    9191        macro_resolver.addMacros(replacement_elem);