Ignore:
Timestamp:
2022-06-20T12:50:46+12:00 (23 months ago)
Author:
kjdon
Message:

put the plugout string into static strings

File:
1 edited

Legend:

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

    r36259 r36262  
    5353public class CollectionConfigXMLReadWrite
    5454{
    55 
    56     static final private String PLUGOUT_ELEMENT = "plugout";//used by building flax collections
    5755
    5856    // a list of all known top level elements
     
    20242022
    20252023        //do the plugout element (used by building flax collections)
    2026         Node plugout = XMLTools.getChildByTagNameIndexed(from.getDocumentElement(), PLUGOUT_ELEMENT, 0);
     2024        Node plugout = XMLTools.getChildByTagNameIndexed(from.getDocumentElement(), StaticStrings.PLUGOUT_ELEMENT, 0);
    20272025        if (plugout != null)
    20282026        {
     
    33433341
    33443342            //do the plugout element (used by building flax collections)
    3345             Node plugout = XMLTools.getChildByTagNameIndexed((Element) importNode, PLUGOUT_ELEMENT, 0);
     3343            Node plugout = XMLTools.getChildByTagNameIndexed((Element) importNode, StaticStrings.PLUGOUT_ELEMENT, 0);
    33463344            if (plugout != null)
    33473345            {
Note: See TracChangeset for help on using the changeset viewer.