Ignore:
Timestamp:
2009-01-12T12:20:53+13:00 (15 years ago)
Author:
kjdon
Message:

copied a couple of files directly over from gli trunk. They should have been identical after merge as I had made no changes to them, but they weren't

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gli/branches/rtl-gli/src/org/greenstone/gatherer/cdm/CollectionDesignManager.java

    r18352 r18368  
    196196    /** Cause the current collection configuration to be written out to disk.
    197197     */
    198     public void save()
    199 {
     198    public void save() {
    200199      collect_config.saveIfNecessary();
    201      
    202 //      if (Gatherer.GS3 == false) {
    203 //        collect_config.saveIfNecessary();
    204 //        return;
    205 //      }
    206 ////      String msg = XMLParser.parseDOM(CollectionManager.getLoadedCollectionCfgFilePath());
    207 //      Element root = this.collect_config.getDocumentElement();
    208 //      String msg = XMLTools.parseDOM(XMLTools.xmlNodeToString(root));
    209 //      if(msg.startsWith(XMLTools.NOTWELLFORMED)) {
    210 //        String str = new String("The collection configuration file is not wellformed, and cannot be saved to disk.");
    211 //        JOptionPane.showMessageDialog(null, str, XMLTools.NOTWELLFORMED, JOptionPane.ERROR_MESSAGE);
    212 //      } else {
    213 //       
    214 //        collect_config.saveIfNecessary();
    215 //      }
    216200    }
    217201
Note: See TracChangeset for help on using the changeset viewer.