- Timestamp:
- 2004-10-08T09:46:12+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/collection/SaveCollectionTask.java
r8231 r8236 41 41 import javax.swing.*; 42 42 import org.greenstone.gatherer.Configuration; 43 import org.greenstone.gatherer.DebugStream; 43 44 import org.greenstone.gatherer.Gatherer; 44 45 import org.greenstone.gatherer.collection.Collection; … … 131 132 backup.deleteOnExit(); 132 133 if(!file.renameTo(backup)) { 133 Gatherer.println("Error in CollectionManager.load(): FileRenamedException");134 DebugStream.println("Error in CollectionManager.load(): FileRenamedException"); 134 135 } 135 136 } … … 150 151 } 151 152 catch (Exception error) { 152 Gatherer.printStackTrace(error);153 DebugStream.printStackTrace(error); 153 154 } 154 155 // Now we check whether we've finished, or is this a Save As action, in which case we've got miles to go. … … 230 231 ///ystem.err.println("Renaming " + filename); 231 232 if(!file.renameTo(original_file)) { 232 Gatherer.println("Error in SaveCollectionTask.run(): FileRenameException");233 DebugStream.println("Error in SaveCollectionTask.run(): FileRenameException"); 233 234 } 234 235 } … … 290 291 } 291 292 catch (Exception exception) { 292 Gatherer.printStackTrace(exception);293 DebugStream.printStackTrace(exception); 293 294 } 294 295 }
Note:
See TracChangeset
for help on using the changeset viewer.