camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r663832 - in /activemq/camel/trunk/components/camel-spring/src: main/java/org/apache/camel/spring/handler/ test/java/org/apache/camel/spring/
Date Fri, 06 Jun 2008 06:17:15 GMT
Author: davsclaus
Date: Thu Jun  5 23:17:15 2008
New Revision: 663832

URL: http://svn.apache.org/viewvc?rev=663832&view=rev
Log:
Resolved using a @deprecated spring method. Removed unused imports

Modified:
    activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/handler/ScriptDefinitionParser.java
    activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/EndpointReferenceTest.java
    activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/InjectedBeanTest.java

Modified: activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/handler/ScriptDefinitionParser.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/handler/ScriptDefinitionParser.java?rev=663832&r1=663831&r2=663832&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/handler/ScriptDefinitionParser.java
(original)
+++ activemq/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/handler/ScriptDefinitionParser.java
Thu Jun  5 23:17:15 2008
@@ -42,7 +42,7 @@
         if (engine == null) {
             engine = element.getAttribute("language");
         }
-        builder.addConstructorArg(engine);
+        builder.addConstructorArgValue(engine);
         super.doParse(element, parserContext, builder);
         String scriptText = DomUtils.getTextValue(element).trim();
         if (scriptText.length() > 0) {

Modified: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/EndpointReferenceTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/EndpointReferenceTest.java?rev=663832&r1=663831&r2=663832&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/EndpointReferenceTest.java
(original)
+++ activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/EndpointReferenceTest.java
Thu Jun  5 23:17:15 2008
@@ -18,13 +18,10 @@
 
 import java.util.List;
 
-import org.apache.camel.CamelTemplate;
 import org.apache.camel.Endpoint;
-import org.apache.camel.Exchange;
 import org.apache.camel.Route;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.spring.example.DummyBean;
-
 import org.springframework.context.support.ClassPathXmlApplicationContext;
 
 /**

Modified: activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/InjectedBeanTest.java
URL: http://svn.apache.org/viewvc/activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/InjectedBeanTest.java?rev=663832&r1=663831&r2=663832&view=diff
==============================================================================
--- activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/InjectedBeanTest.java
(original)
+++ activemq/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/InjectedBeanTest.java
Thu Jun  5 23:17:15 2008
@@ -48,17 +48,14 @@
 
         assertNotNull("No PollingConsumer injected for getFieldInjectedPollingConsumer()",
bean.getFieldInjectedPollingConsumer());
         assertNotNull("No PollingConsumer injected for getPropertyInjectedPollingConsumer()",
bean.getPropertyInjectedPollingConsumer());
-
     }
 
     public void testSendAndReceive() throws Exception {
-
     }
 
     @Override
     protected void setUp() throws Exception {
         super.setUp();
-
         bean = getMandatoryBean(InjectedBean.class, "injectedBean");
     }
 



Mime
View raw message