camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bvah...@apache.org
Subject svn commit: r1364993 - in /camel/trunk: camel-core/src/main/java/org/apache/camel/model/config/ camel-core/src/test/java/org/apache/camel/processor/enricher/ components/camel-cdi/src/main/java/org/apache/camel/component/cdi/ components/camel-cxf/src/ma...
Date Tue, 24 Jul 2012 11:58:59 GMT
Author: bvahdat
Date: Tue Jul 24 11:58:58 2012
New Revision: 1364993

URL: http://svn.apache.org/viewvc?rev=1364993&view=rev
Log:
Polished.

Modified:
    camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/StreamResequencerConfig.java
    camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
    camel/trunk/components/camel-cdi/src/main/java/org/apache/camel/component/cdi/CdiCamelContext.java
    camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java
    camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringResequenceStreamRejectOldExchangesTest.java

Modified: camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/StreamResequencerConfig.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/StreamResequencerConfig.java?rev=1364993&r1=1364992&r2=1364993&view=diff
==============================================================================
--- camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/StreamResequencerConfig.java
(original)
+++ camel/trunk/camel-core/src/main/java/org/apache/camel/model/config/StreamResequencerConfig.java
Tue Jul 24 11:58:58 2012
@@ -19,7 +19,6 @@ package org.apache.camel.model.config;
 import javax.xml.bind.annotation.XmlAccessType;
 import javax.xml.bind.annotation.XmlAccessorType;
 import javax.xml.bind.annotation.XmlAttribute;
-import javax.xml.bind.annotation.XmlElement;
 import javax.xml.bind.annotation.XmlRootElement;
 import javax.xml.bind.annotation.XmlTransient;
 

Modified: camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java?rev=1364993&r1=1364992&r2=1364993&view=diff
==============================================================================
--- camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
(original)
+++ camel/trunk/camel-core/src/test/java/org/apache/camel/processor/enricher/PollEnricherTest.java
Tue Jul 24 11:58:58 2012
@@ -16,8 +16,6 @@
  */
 package org.apache.camel.processor.enricher;
 
-import java.util.List;
-
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.Exchange;
 import org.apache.camel.ExchangePattern;

Modified: camel/trunk/components/camel-cdi/src/main/java/org/apache/camel/component/cdi/CdiCamelContext.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cdi/src/main/java/org/apache/camel/component/cdi/CdiCamelContext.java?rev=1364993&r1=1364992&r2=1364993&view=diff
==============================================================================
--- camel/trunk/components/camel-cdi/src/main/java/org/apache/camel/component/cdi/CdiCamelContext.java
(original)
+++ camel/trunk/components/camel-cdi/src/main/java/org/apache/camel/component/cdi/CdiCamelContext.java
Tue Jul 24 11:58:58 2012
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.component.cdi;
 
-import javax.annotation.PostConstruct;
 import javax.enterprise.inject.Instance;
 import javax.inject.Inject;
 

Modified: camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java?rev=1364993&r1=1364992&r2=1364993&view=diff
==============================================================================
--- camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java
(original)
+++ camel/trunk/components/camel-cxf/src/main/java/org/apache/camel/component/cxf/jaxrs/CxfRsEndpoint.java
Tue Jul 24 11:58:58 2012
@@ -36,7 +36,6 @@ import org.apache.camel.util.ObjectHelpe
 import org.apache.cxf.Bus;
 import org.apache.cxf.BusFactory;
 import org.apache.cxf.feature.LoggingFeature;
-import org.apache.cxf.helpers.CastUtils;
 import org.apache.cxf.jaxrs.JAXRSServerFactoryBean;
 import org.apache.cxf.jaxrs.client.JAXRSClientFactoryBean;
 import org.slf4j.Logger;
@@ -133,14 +132,13 @@ public class CxfRsEndpoint extends Defau
         }
     }
 
-    @SuppressWarnings({"rawtypes", "unchecked"})
     protected void setupJAXRSServerFactoryBean(JAXRSServerFactoryBean sfb) {
         // address
         if (getAddress() != null) {
             sfb.setAddress(getAddress());
         }
         if (getResourceClasses() != null) {
-            List<Class<?>> res = CastUtils.cast(getResourceClasses());
+            List<Class<?>> res = getResourceClasses();
             // setup the resource providers
             for (Class<?> clazz : res) {
                 sfb.setResourceProvider(clazz, new CamelResourceProvider(clazz));

Modified: camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringResequenceStreamRejectOldExchangesTest.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringResequenceStreamRejectOldExchangesTest.java?rev=1364993&r1=1364992&r2=1364993&view=diff
==============================================================================
--- camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringResequenceStreamRejectOldExchangesTest.java
(original)
+++ camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringResequenceStreamRejectOldExchangesTest.java
Tue Jul 24 11:58:58 2012
@@ -18,7 +18,6 @@ package org.apache.camel.spring.processo
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.processor.ResequenceStreamRejectOldExchangesTest;
-import org.apache.camel.processor.ResequencerTest;
 
 import static org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
 
@@ -26,7 +25,9 @@ import static org.apache.camel.spring.pr
  * @version
  */
 public class SpringResequenceStreamRejectOldExchangesTest extends ResequenceStreamRejectOldExchangesTest
{
+
     protected CamelContext createCamelContext() throws Exception {
         return createSpringCamelContext(this, "org/apache/camel/spring/processor/resequencerRejectOld.xml");
     }
+
 }
\ No newline at end of file



Mime
View raw message