Ignore:
Timestamp:
2004-10-08T09:46:12+13:00 (20 years ago)
Author:
mdewsnip
Message:

Replaced all Gatherer.print* with DebugStream.print*.

File:
1 edited

Legend:

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

    r8231 r8236  
    4141import javax.swing.*;
    4242import org.greenstone.gatherer.Configuration;
     43import org.greenstone.gatherer.DebugStream;
    4344import org.greenstone.gatherer.Gatherer;
    4445import org.greenstone.gatherer.collection.Collection;
     
    131132        backup.deleteOnExit();
    132133        if(!file.renameTo(backup)) {
    133             Gatherer.println("Error in CollectionManager.load(): FileRenamedException");
     134            DebugStream.println("Error in CollectionManager.load(): FileRenamedException");
    134135        }
    135136        }
     
    150151    }
    151152    catch (Exception error) {
    152         Gatherer.printStackTrace(error);
     153        DebugStream.printStackTrace(error);
    153154    }
    154155    // Now we check whether we've finished, or is this a Save As action, in which case we've got miles to go.
     
    230231            ///ystem.err.println("Renaming " + filename);
    231232            if(!file.renameTo(original_file)) {
    232             Gatherer.println("Error in SaveCollectionTask.run(): FileRenameException");
     233            DebugStream.println("Error in SaveCollectionTask.run(): FileRenameException");
    233234            }
    234235        }
     
    290291    }
    291292    catch (Exception exception) {
    292         Gatherer.printStackTrace(exception);
     293        DebugStream.printStackTrace(exception);
    293294    }
    294295    }
Note: See TracChangeset for help on using the changeset viewer.