Author: dcaruana
Date: Fri Oct 16 21:28:55 2009
New Revision: 826096

URL: http://svn.apache.org/viewvc?rev=826096&view=rev
Log:
Only trace response validation messages when request/response tracing is 
enabled.

Modified:
    
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java

Modified: 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
URL: 
http://svn.apache.org/viewvc/incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java?rev=826096&r1=826095&r2=826096&view=diff
==============================================================================
--- 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
 (original)
+++ 
incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
 Fri Oct 16 21:28:55 2009
@@ -422,7 +422,9 @@
                 
                 if (mimetypeValidator != null) {
                     try {
-                        messageWriter.trace("Validating response of content 
type " + contentType);
+                        if (traceConnection) {
+                            messageWriter.trace("Validating response of 
content type " + contentType);
+                        }
                         
                         String resXML = res.getContentAsString();
                         assertValid(resXML, mimetypeValidator);


Reply via email to