You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2008/04/07 07:34:35 UTC
svn commit: r645381 -
/activemq/camel/trunk/camel-core/src/main/java/org/apache/camel/builder/RouteBuilder.java
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);
}