Changeset 36259


Ignore:
Timestamp:
2022-06-20T10:11:11+12:00 (2 weeks ago)
Author:
kjdon
Message:

got rid of some debug strings, and commented out code

File:
1 edited

Legend:

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

    r36188 r36259  
    16671667                    name_value = name_mapping;
    16681668                }
    1669                 System.err.println("makign dispay elem, "+name_value+", "+ text);
     1669
    16701670                Element displayItem = constructElement(StaticStrings.DISPLAYITEM_STR, name_value, StaticStrings.LANG_STR, lang, text, StaticStrings.KEY_ATTRIBUTE, key, StaticStrings.DICTIONARY_ATTRIBUTE, dictionary, to);
    16711671                //Element displayItem = constructDisplayItem(e, to, name_value);
     
    35303530    static private Document convertInternalToCollectionConfig(Document dOc)
    35313531    {
    3532         System.err.println("internal documnet:");
    3533            
    3534         System.err.println(XMLTools.xmlNodeListToString(dOc.getDocumentElement().getElementsByTagName("CollectionMetadata")));
    3535         System.err.println(XMLTools.xmlNodeListToString(dOc.getDocumentElement().getElementsByTagName("SearchMetadata")));
    3536         ///ystem.err.println(XMLTools.xmlNodeToString(XMLTools.getChildByTagName(dOc.getDocumentElement(), "Sorts")));
    35373532        //first parse an empty skeleton of xml config file
    35383533        //The aim is to convert the internal structure into this skeleton
    35393534        // This skeleton just has the CollectionConfig element and nothing else
    35403535        Document skeleton = XMLTools.parseXMLFile("xml/CollectionConfig.xml", true);
    3541         //Element internal = dOc.getDocumentElement();
    35423536        convertSecurity(dOc, skeleton);
    35433537        convertMetadataList(dOc, skeleton);
     
    35473541        convertDatabaseType(dOc, skeleton);
    35483542        convertIndex(dOc, skeleton); // this will do index, defaultIndex, indexOptions, facets and sorting if needed
    3549         //convertSolrFacetsAndSorts(dOc, skeleton);
    3550         //convertSort(dOc, skeleton);
    3551         //convertFacet(dOc, skeleton);
    35523543        convertPlugins(dOc, skeleton);//also do the plugout element
    35533544        convertClassifier(dOc, skeleton);
Note: See TracChangeset for help on using the changeset viewer.