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/msm/MSMProfiler.java

    r6094 r8236  
    3939import java.io.*;
    4040import java.util.*;
     41import org.greenstone.gatherer.DebugStream;
    4142import org.greenstone.gatherer.Gatherer;
    4243import org.greenstone.gatherer.msm.MSMAdapter;
     
    112113     */
    113114    public void elementChanged(MSMEvent event) {
    114     Gatherer.println("Element changed: " + event);
     115    DebugStream.println("Element changed: " + event);
    115116    String new_name = null;
    116117    String old_name = event.getValue();
     
    207208        backup.deleteOnExit();
    208209        if(!profile_file.renameTo(backup)) {
    209             Gatherer.println("Error in MSMProfiler.save(): FileRenamedException");
     210            DebugStream.println("Error in MSMProfiler.save(): FileRenamedException");
    210211        }
    211212        backup = null;
     
    215216        Document document = Utility.parse(Utility.PROFILE_TEMPLATE, true);
    216217        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!");
    218219        return;
    219220        }
     
    249250    }
    250251    catch (Exception error) {
    251         Gatherer.printStackTrace(error);
     252        DebugStream.printStackTrace(error);
    252253    }
    253254    }
Note: See TracChangeset for help on using the changeset viewer.