Ignore:
Timestamp:
2003-06-12T12:07:19+12:00 (21 years ago)
Author:
kjdon
Message:

tidied up gatherer.debug - > gatherer.println

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/collection/SaveCollectionTask.java

    r4571 r4595  
    133133        backup.deleteOnExit();
    134134        if(!file.renameTo(backup)) {
    135             Gatherer.println("Error in CollectionManager.load(): FileNotRenamedException");
     135            Gatherer.println("Error in CollectionManager.load(): FileRenamedException");
    136136        }
    137137        }
     
    156156    // Now we check whether we've finished, or is this a Save As action, in which case we've got miles to go.
    157157    if(name != null) {
    158                 // 2. Call CollectionManager.makeCollection() to create the collection structure to save into (copied collection).
    159                 ///ystem.err.println("2. Make copy.");
     158        // 2. Call CollectionManager.makeCollection() to create the collection structure to save into (copied collection).
     159        ///ystem.err.println("2. Make copy.");
    160160        Gatherer.c_man.createCollection(null, null, name, null, null, null);
    161161        // spd.setProgress(getValue(MAKE_COLLECTION));
    162                 // 3. Copy files from the origin to the copied collections (except special collection files ending with ~).
    163                 // As part of this we must rename origin.col to copy.col
    164                 ///ystem.err.println("3. Copy origin.");
     162        // 3. Copy files from the origin to the copied collections (except special collection files ending with ~).
     163        // As part of this we must rename origin.col to copy.col
     164        ///ystem.err.println("3. Copy origin.");
    165165        ArrayList files = new ArrayList();
    166166        File collection_file = new File(Gatherer.c_man.getCollectionFilename());
Note: See TracChangeset for help on using the changeset viewer.