Changeset 6092


Ignore:
Timestamp:
2003-12-02T17:23:46+13:00 (20 years ago)
Author:
jmt12
Message:

Removed debug statements

Location:
trunk/gli/src/org/greenstone/gatherer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/gui/MetaEditPane.java

    r6069 r6092  
    241241
    242242       public void run() {
    243       System.err.println("Add metadata - '" + value + "'");
     243       ///ystem.err.println("Add metadata - '" + value + "'");
    244244        // Check the new metadata is valid
    245245        if(records != null && element != null && value != null) {
     
    12651265        if (!card_showing.equals(NONE)) {
    12661266        // Decode val
    1267         //System.err.println("Before transforms: " + val);
     1267        ///ystem.err.println("Before transforms: " + val);
    12681268        //val = Codec.transform(val, Codec.DECODE_SQUARE_BRACKETS);
    12691269        //val = Codec.transform(val, Codec.DECODE_PATH);
    1270         //System.err.println("Setting selected value to: " + val);
     1270        ///ystem.err.println("Setting selected value to: " + val);
    12711271        manual_text_edit_event = val.equals("");  // Set to false unless val == ""
    12721272        value.setText(val); ///odec.transform(val, /odec.GREENSTONE_TO_TEXT));
     
    12801280    private TreePath getClosestPath(String val)
    12811281    {
    1282         System.err.println("Select closest path to: " + val);
     1282        ///ystem.err.println("Select closest path to: " + val);
    12831283        // Start at the root of the tree
    12841284        GValueNode tree_node = (GValueNode) tree.getModel().getRoot();
     
    13491349            GValueNode node = (GValueNode) path.getLastPathComponent();
    13501350            String val = node.getFullPath(true);
    1351             System.err.println("Setting value to: " + val);
     1351            ///ystem.err.println("Setting value to: " + val);
    13521352            value.setText(val);
    13531353            val = null;
  • trunk/gli/src/org/greenstone/gatherer/msm/GDMDocument.java

    r6069 r6092  
    196196            node_value = metadata.getAbsoluteValue();
    197197        }
    198         System.err.println("Creating node in GDMDocument: '" + node_value + "'");
     198        ///ystem.err.println("Creating node in GDMDocument: '" + node_value + "'");
    199199        metadata_element.appendChild(base_document.createTextNode(node_value));
    200200        // Retrieve the first description element for this fileset (there should only be one, but I'll play it safe).
     
    380380                        //String current_value = Codec.transform(metadata.getValueNode().getFullPath(false), Codec.TEXT_TO_DOM);
    381381                        String current_value = metadata.getValueNode().getFullPath(false);
    382                         //System.err.println("Checking the current mdv path: " + current_value);
    383                         //System.err.println("Against whats in the metadata file: " + raw_value);
     382                        ///ystem.err.println("Checking the current mdv path: " + current_value);
     383                        ///ystem.err.println("Against whats in the metadata file: " + raw_value);
    384384                        if(!raw_value.equals(current_value)) {
    385385                        // Remove old text
Note: See TracChangeset for help on using the changeset viewer.