- Timestamp:
- 2004-10-08T09:46:12+13:00 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gli/src/org/greenstone/gatherer/msm/MSMProfiler.java
r6094 r8236 39 39 import java.io.*; 40 40 import java.util.*; 41 import org.greenstone.gatherer.DebugStream; 41 42 import org.greenstone.gatherer.Gatherer; 42 43 import org.greenstone.gatherer.msm.MSMAdapter; … … 112 113 */ 113 114 public void elementChanged(MSMEvent event) { 114 Gatherer.println("Element changed: " + event);115 DebugStream.println("Element changed: " + event); 115 116 String new_name = null; 116 117 String old_name = event.getValue(); … … 207 208 backup.deleteOnExit(); 208 209 if(!profile_file.renameTo(backup)) { 209 Gatherer.println("Error in MSMProfiler.save(): FileRenamedException");210 DebugStream.println("Error in MSMProfiler.save(): FileRenamedException"); 210 211 } 211 212 backup = null; … … 215 216 Document document = Utility.parse(Utility.PROFILE_TEMPLATE, true); 216 217 if(document == null) { 217 Gatherer.println("Error in MSMProfiler.save(): couldn't find and parse the profile template file!");218 DebugStream.println("Error in MSMProfiler.save(): couldn't find and parse the profile template file!"); 218 219 return; 219 220 } … … 249 250 } 250 251 catch (Exception error) { 251 Gatherer.printStackTrace(error);252 DebugStream.printStackTrace(error); 252 253 } 253 254 }
Note:
See TracChangeset
for help on using the changeset viewer.