Changeset 32546

Show
Ignore:
Timestamp:
29.10.2018 14:09:36 (3 weeks ago)
Author:
kjdon
Message:

use variable instead of hard coded string for paramDefault

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/src/java/org/greenstone/gsdl3/action/DocumentAction.java

    r32545 r32546  
    138138        if (format_elem != null) { 
    139139          // lets look for param defaults set in config file 
    140           NodeList param_defaults = format_elem.getElementsByTagName("paramDefault"); 
     140          NodeList param_defaults = format_elem.getElementsByTagName(GSXML.PARAM_DEFAULT_ELEM); 
    141141          for (int i=0; i<param_defaults.getLength(); i++) { 
    142142            Element p = (Element)param_defaults.item(i);