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/04/19 09:15:11 UTC

svn commit: r1094896 - /camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java

Author: ningjiang
Date: Tue Apr 19 07:15:11 2011
New Revision: 1094896

URL: http://svn.apache.org/viewvc?rev=1094896&view=rev
Log:
Fixed the cs error of RouteDefinition.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java?rev=1094896&r1=1094895&r2=1094896&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java (original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java Tue Apr 19 07:15:11 2011
@@ -226,7 +226,7 @@ public class RouteDefinition extends Pro
         // we must check the error handler on builder is not the same as on camel context, as that would be the default
         // context scoped error handler, in case no error handlers was configured
         if (builder.getRouteCollection().getErrorHandlerBuilder() != null
-                && camelContext.getErrorHandlerBuilder() != builder.getRouteCollection().getErrorHandlerBuilder() ) {
+                && camelContext.getErrorHandlerBuilder() != builder.getRouteCollection().getErrorHandlerBuilder()) {
             throw new IllegalArgumentException("You can not advice with error handlers. Remove the error handlers from the route builder.");
         }