Changeset 32546 for main/trunk


Ignore:
Timestamp:
10/29/18 14:09:36 (2 years ago)
Author:
kjdon
Message:

use variable instead of hard coded string for paramDefault

File:
1 edited

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);
Note: See TracChangeset for help on using the changeset viewer.