camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject [3/8] git commit: CAMEL-6694 Fixed some other warning in eclipse
Date Tue, 08 Apr 2014 07:37:42 GMT
CAMEL-6694 Fixed some other warning in eclipse


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/5ed848a9
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/5ed848a9
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/5ed848a9

Branch: refs/heads/camel-2.13.x
Commit: 5ed848a9168c48817399a25eb81f6ed69967d96d
Parents: 9997dc2
Author: Willem Jiang <willem.jiang@gmail.com>
Authored: Fri Apr 4 21:47:25 2014 +0800
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Tue Apr 8 15:24:54 2014 +0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/model/LogDefinition.java       | 1 -
 .../java/org/apache/camel/model/RouteContextRefDefinition.java    | 3 +--
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/5ed848a9/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java b/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
index a49c5bb..883c7a3 100644
--- a/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/LogDefinition.java
@@ -28,7 +28,6 @@ import org.apache.camel.Expression;
 import org.apache.camel.LoggingLevel;
 import org.apache.camel.Processor;
 import org.apache.camel.processor.LogProcessor;
-import org.apache.camel.processor.aggregate.AggregateProcessor;
 import org.apache.camel.spi.RouteContext;
 import org.apache.camel.util.CamelContextHelper;
 import org.apache.camel.util.CamelLogger;

http://git-wip-us.apache.org/repos/asf/camel/blob/5ed848a9/camel-core/src/main/java/org/apache/camel/model/RouteContextRefDefinition.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/model/RouteContextRefDefinition.java
b/camel-core/src/main/java/org/apache/camel/model/RouteContextRefDefinition.java
index 87667a3..f1093dc 100644
--- a/camel-core/src/main/java/org/apache/camel/model/RouteContextRefDefinition.java
+++ b/camel-core/src/main/java/org/apache/camel/model/RouteContextRefDefinition.java
@@ -50,8 +50,7 @@ public class RouteContextRefDefinition {
     public void setRef(String ref) {
         this.ref = ref;
     }
-
-    @SuppressWarnings({"unchecked", "rawtypes"})
+    
     public List<RouteDefinition> lookupRoutes(CamelContext camelContext) {
         return RouteContextRefDefinitionHelper.lookupRoutes(camelContext, ref);
     }


Mime
View raw message