Changeset 14679


Ignore:
Timestamp:
2007-10-15T12:47:57+13:00 (17 years ago)
Author:
xiao
Message:

clearup some comments, nothing changed.

File:
1 edited

Legend:

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

    r14237 r14679  
    190190    /** Cause the current collection configuration to be written out to disk.
    191191     */
    192     public void save()
    193 {
     192    public void save() {
    194193      collect_config.saveIfNecessary();
    195      
    196 //      if (Gatherer.GS3 == false) {
    197 //        collect_config.saveIfNecessary();
    198 //        return;
    199 //      }
    200 ////      String msg = XMLParser.parseDOM(CollectionManager.getLoadedCollectionCfgFilePath());
    201 //      Element root = this.collect_config.getDocumentElement();
    202 //      String msg = XMLTools.parseDOM(XMLTools.xmlNodeToString(root));
    203 //      if(msg.startsWith(XMLTools.NOTWELLFORMED)) {
    204 //        String str = new String("The collection configuration file is not wellformed, and cannot be saved to disk.");
    205 //        JOptionPane.showMessageDialog(null, str, XMLTools.NOTWELLFORMED, JOptionPane.ERROR_MESSAGE);
    206 //      } else {
    207 //       
    208 //        collect_config.saveIfNecessary();
    209 //      }
    210194    }
    211195
Note: See TracChangeset for help on using the changeset viewer.