camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1094896 - /camel/trunk/camel-core/src/main/java/org/apache/camel/model/RouteDefinition.java
Date Tue, 19 Apr 2011 07:15:11 GMT
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.");
         }
 



Mime
View raw message