Author: rhauch
Date: 2009-03-10 12:19:07 -0400 (Tue, 10 Mar 2009)
New Revision: 766
Modified:
trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/AbstractJcrExporter.java
Log:
DNA-295 TCK Tests for Session.export* Methods Fail
Corrected a line to only print to System.out when debugging.
Modified: trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/AbstractJcrExporter.java
===================================================================
--- trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/AbstractJcrExporter.java 2009-03-10
16:18:31 UTC (rev 765)
+++ trunk/dna-jcr/src/main/java/org/jboss/dna/jcr/AbstractJcrExporter.java 2009-03-10
16:19:07 UTC (rev 766)
@@ -47,10 +47,8 @@
/**
* Superclass of DNA JCR exporters, provides basic support for traversing through the
nodes recursively (if needed), exception
* wrapping (since {@link ItemVisitor} does not allow checked exceptions to be thrown
from its visit* methods, and the ability to
- * wrap an {@link OutputStream} with a {@link ContentHandler}.
- * <p />
- * Each exporter is only intended to be used once (by calling
<code>exportView</code>) and discarded. This class is <b>NOT</b>
- * thread-safe.
+ * wrap an {@link OutputStream} with a {@link ContentHandler}. <p /> Each exporter
is only intended to be used once (by calling
+ * <code>exportView</code>) and discarded. This class is
<b>NOT</b> thread-safe.
*
* @see JcrSystemViewExporter
* @see JcrDocumentViewExporter
@@ -318,7 +316,7 @@
emit("</");
emit(name);
emit(">");
- System.out.println();
+ if (LOG_TO_CONSOLE) System.out.println();
}
Show replies by date