Changeset 24805


Ignore:
Timestamp:
11/09/11 14:49:19 (9 years ago)
Author:
sjm84
Message:

Commented out some code that seemed to do more harm than good

File:
1 edited

Legend:

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

    r24801 r24805  
    641641            String gsf_text = XMLTools.xmlNodeToStringWithoutIndenting(format);
    642642
    643             if (gsf_text.startsWith("<") && (gsf_text.indexOf("<") != gsf_text.lastIndexOf("<")))
    644             {
    645                 gsf_text = gsf_text.substring(gsf_text.indexOf("<gsf"), gsf_text.indexOf(StaticStrings.FORMAT_END_TAG));
    646             }
     643            /*
     644             * if (gsf_text.startsWith("<") && (gsf_text.indexOf("<") !=
     645             * gsf_text.lastIndexOf("<"))) { gsf_text =
     646             * gsf_text.substring(gsf_text.indexOf("<gsf"),
     647             * gsf_text.indexOf(StaticStrings.FORMAT_END_TAG)); }
     648             */
    647649
    648650            XMLTools.setNodeText(format_element, gsf_text);
Note: See TracChangeset for help on using the changeset viewer.