camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r645381 - /activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
Date Mon, 07 Apr 2008 05:34:35 GMT
Author: davsclaus
Date: Sun Apr  6 22:34:34 2008
New Revision: 645381

URL: http://svn.apache.org/viewvc?rev=645381&view=rev
Log:
removed unused imports, fixed spelling, polished javadoc

Modified:
    activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java

Modified: activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java?rev=645381&r1=645380&r2=645381&view=diff
==============================================================================
--- activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
(original)
+++ activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
Sun Apr  6 22:34:34 2008
@@ -28,8 +28,6 @@
 import org.apache.camel.model.ChoiceType;
 import org.apache.camel.model.ExceptionType;
 import org.apache.camel.model.InterceptType;
-import org.apache.camel.model.InterceptorRef;
-import org.apache.camel.model.InterceptorType;
 import org.apache.camel.model.ProcessorType;
 import org.apache.camel.model.RouteType;
 import org.apache.camel.model.RoutesType;
@@ -43,7 +41,7 @@
  * @version $Revision$
  */
 public abstract class RouteBuilder extends BuilderSupport {
-    private AtomicBoolean initalized = new AtomicBoolean(false);
+    private AtomicBoolean initialized = new AtomicBoolean(false);
     private RoutesType routeCollection = new RoutesType();
     private List<Route> routes = new ArrayList<Route>();
 
@@ -99,8 +97,7 @@
      * Configures whether or not the error handler is inherited by every
      * processing node (or just the top most one)
      *
-     * @param value the flag as to whether error handlers should be inherited or
-     *                not
+     * @param value the flag as to whether error handlers should be inherited or not
      * @return the current builder
      */
     public RouteBuilder inheritErrorHandler(boolean value) {
@@ -118,7 +115,7 @@
 
     /**
      * Adds a route for an interceptor; use the {@link ProcessorType#proceed()} method
-     * to continue processing the underying route being intercepted.
+     * to continue processing the underlying route being intercepted.
      */
     public InterceptType intercept() {
         return routeCollection.intercept();
@@ -174,7 +171,7 @@
     // Implementation methods
     // -----------------------------------------------------------------------
     protected void checkInitialized() throws Exception {
-        if (initalized.compareAndSet(false, true)) {
+        if (initialized.compareAndSet(false, true)) {
             configure();
             populateRoutes(routes);
         }



Mime
View raw message