Changeset 4402


Ignore:
Timestamp:
2003-05-29T15:17:57+12:00 (21 years ago)
Author:
jmt12
Message:

Removed some debug statements

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

Legend:

Unmodified
Added
Removed
  • trunk/gli/src/org/greenstone/gatherer/msm/GDMDocument.java

    r4399 r4402  
    381381                    if(value.equals(metadata.getAbsoluteValue())) {
    382382                    // Remove it
    383                     System.err.println("Remove " + element + "-" + value);
     383                    ///ystem.err.println("Remove " + element + "-" + value);
    384384                    description_element.removeChild(metadata_element);
    385385                    found = true;
    386386                    // If this was the first metadata with this element found, and it was set to overwrite, then we have to ensure that the next metadata with this element found (if any) is changed to be overwrite now.
    387387                    if(first_metadata_element_found && !metadata.accumulates()) {
    388                         System.err.println("First of this element found!");
     388                        ///ystem.err.println("First of this element found!");
    389389                        make_next_metadata_element_overwrite = true;
    390390                    }
     
    392392                    // If this was the first metadata we've found with the element of the one to be removed set first found to false.
    393393                    else if(first_metadata_element_found) {
    394                     System.err.println("Found a matching element: " + element + "=" + value);
     394                    ///ystem.err.println("Found a matching element: " + element + "=" + value);
    395395                    first_metadata_element_found = false;
    396396                    }
    397397                    // Otherwise we should make this metadata overwrite as requested.
    398398                    else if(make_next_metadata_element_overwrite) {
    399                     System.err.println("Changing to overwrite: " + element + "=" + value);
     399                    ///ystem.err.println("Changing to overwrite: " + element + "=" + value);
    400400                    metadata_element.setAttribute(MODE_ATTRIBUTE, "");
    401401                    }
  • trunk/gli/src/org/greenstone/gatherer/msm/GDMManager.java

    r4365 r4402  
    263263      */
    264264    public synchronized void metadataChanged(MSMEvent event) {
    265     System.err.println("Recieved Event: " + event.toString());
     265    ///ystem.err.println("Recieved Event: " + event.toString());
    266266    File file = event.getFile();
    267267    if(file == null) {
Note: See TracChangeset for help on using the changeset viewer.