chemistry-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dcaru...@apache.org
Subject svn commit: r826096 - /incubator/chemistry/trunk/chemistry/chemistry-tck-atompub/src/main/java/org/apache/chemistry/tck/atompub/client/CMISClient.java
Date Fri, 16 Oct 2009 21:28:55 GMT
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);



Mime
View raw message