You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2011/06/02 04:41:54 UTC

svn commit: r1130384 - in /camel/trunk/camel-core/src: main/java/org/apache/camel/impl/DefaultExchangeHolder.java test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java

Author: ningjiang
Date: Thu Jun  2 02:41:54 2011
New Revision: 1130384

URL: http://svn.apache.org/viewvc?rev=1130384&view=rev
Log:
Fixed the CS errors of DefaultExchangeHolder

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java?rev=1130384&r1=1130383&r2=1130384&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/impl/DefaultExchangeHolder.java Thu Jun  2 02:41:54 2011
@@ -238,11 +238,13 @@ public class DefaultExchangeHolder imple
         if (key.startsWith("Camel")) {
             // log Camel at DEBUG level
             if (LOG.isDebugEnabled()) {
-                LOG.debug("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder.", new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+                LOG.debug("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder."
+                          , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
             }
         } else {
             // log regular at WARN level
-            LOG.warn("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder.", new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
+            LOG.warn("Exchange {} containing key: {} with object: {} of type: {} cannot be serialized, it will be excluded by the holder."
+                     , new Object[]{type, key, value, ObjectHelper.classCanonicalName(value)});
         }
     }
 

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java?rev=1130384&r1=1130383&r2=1130384&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java (original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/impl/DefaultExchangeHolderTest.java Thu Jun  2 02:41:54 2011
@@ -139,7 +139,7 @@ public class DefaultExchangeHolderTest e
         return DefaultExchangeHolder.marshal(exchange, includeProperties);
     }
 
-    private class MyFoo {
+    private final class MyFoo {
         private String foo;
 
         private MyFoo(String foo) {