You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2012/01/21 03:46:22 UTC
svn commit: r1234250 - in /camel/branches/camel-2.9.x: ./
components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java
Author: hadrian
Date: Sat Jan 21 02:46:21 2012
New Revision: 1234250
URL: http://svn.apache.org/viewvc?rev=1234250&view=rev
Log:
Merged revisions 1234119 via svnmerge from
https://svn.apache.org/repos/asf/camel/trunk
........
r1234119 | bvahdat | 2012-01-20 15:40:35 -0500 (Fri, 20 Jan 2012) | 1 line
Avoid compiler warning because of the raw type usage of ProcessorDefinition.
........
Modified:
camel/branches/camel-2.9.x/ (props changed)
camel/branches/camel-2.9.x/components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java
Propchange: camel/branches/camel-2.9.x/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.
Modified: camel/branches/camel-2.9.x/components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java
URL: http://svn.apache.org/viewvc/camel/branches/camel-2.9.x/components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java?rev=1234250&r1=1234249&r2=1234250&view=diff
==============================================================================
--- camel/branches/camel-2.9.x/components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java (original)
+++ camel/branches/camel-2.9.x/components/camel-spring/src/test/java/org/apache/camel/spring/config/XmlConfigTestSupport.java Sat Jan 21 02:46:21 2012
@@ -22,7 +22,6 @@ import org.apache.camel.CamelContext;
import org.apache.camel.TestSupport;
import org.apache.camel.model.FromDefinition;
import org.apache.camel.model.ModelCamelContext;
-import org.apache.camel.model.ProcessorDefinition;
import org.apache.camel.model.RouteDefinition;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -47,7 +46,7 @@ public class XmlConfigTestSupport extend
FromDefinition fromType = inputs.get(0);
assertEquals("from URI", "seda:test.a", fromType.getUri());
- List<ProcessorDefinition> outputs = route.getOutputs();
+ List<?> outputs = route.getOutputs();
assertEquals("Number of outputs", 1, outputs.size());
}
}