camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1451104 - /camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java
Date Thu, 28 Feb 2013 05:45:49 GMT
Author: davsclaus
Date: Thu Feb 28 05:45:49 2013
New Revision: 1451104

URL: http://svn.apache.org/r1451104
Log:
Polished

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java?rev=1451104&r1=1451103&r2=1451104&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/processor/validation/ValidatingProcessor.java
Thu Feb 28 05:45:49 2013
@@ -103,8 +103,7 @@ public class ValidatingProcessor impleme
 
             if (shouldUseHeader()) {
                 if (source == null && isFailOnNullHeader()) {
-                    throw new NoXmlHeaderValidationException(exchange,
-                            headerName);
+                    throw new NoXmlHeaderValidationException(exchange, headerName);
                 }
             } else {
                 if (source == null && isFailOnNullBody()) {



Mime
View raw message