• Views
  • Iteration Report
  • My Iteration Report
  •  
OMERO.server
  • Login
  • Help/Guide
  • About Trac
  • Preferences
  • Wiki
  • Timeline
  • Roadmap
  • Browse Source
  • View Tickets
  • Search

Context Navigation

  • ← Previous Change
  • Next Change →

Changeset 1607 for branches/3.0-Beta2/components/dsl

Show
Ignore:
Timestamp:
06/08/07 20:15:22 (18 months ago)
Author:
david
Message:

code cleanup ticket #383

Files:
1 modified

  • branches/3.0-Beta2/components/dsl/src/ome/dsl/SaxReader.java (modified) (1 diff)

Legend:

Unmodified
Added
Removed
  • branches/3.0-Beta2/components/dsl/src/ome/dsl/SaxReader.java

    r1547 r1607  
    253253    /** simple outputting routine with indention */ 
    254254    private void outputStart(String element, Attributes attrs) { 
    255         System.out.print(depth + element); 
    256         System.out.print("("); 
     255        if (log.isDebugEnabled()) { 
     256            log.debug(depth + element + "("); 
     257        } 
    257258        for (int i = 0; i < attrs.getLength(); i++) { 
    258259            String attr = attrs.getQName(i); 
    259260            String value = attrs.getValue(i); 
    260             System.out.print(" " + attr + "=\"" + value + "\" "); 
    261         } 
    262         System.out.print("):"); 
    263         System.out.println(""); 
     261            if (log.isDebugEnabled()) { 
     262                log.debug(" " + attr + "=\"" + value + "\" "); 
     263            } 
     264        } 
     265        if (log.isDebugEnabled()) { 
     266            log.debug("): "); 
     267        } 
    264268        depth += "  "; 
    265269    } 

Download in other formats:

  • Unified Diff
  • Zip Archive

Trac Powered

Powered by Trac 0.11
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/