camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jon Anstey <jans...@gmail.com>
Subject Re: svn commit: r835107 - in /camel/trunk/components/camel-spring/src: main/java/org/apache/camel/spring/ test/java/org/apache/camel/component/event/ test/java/org/apache/camel/spring/ test/java/org/apache/camel/spring/interceptor/ test/java/org/apac
Date Thu, 12 Nov 2009 00:24:07 GMT
Haha no problem :) Eclipse actually does the unused import removal thing
with a few clicks... about to apply it to the entire source tree.

On Wed, Nov 11, 2009 at 8:36 PM, Hadrian Zbarcea <hzbarcea@gmail.com> wrote:

> Jon, thanks for joining the cause :)
> Hadrian
>
>
> On Nov 11, 2009, at 5:33 PM, janstey@apache.org wrote:
>
>  Author: janstey
>> Date: Wed Nov 11 22:33:23 2009
>> New Revision: 835107
>>
>> URL: http://svn.apache.org/viewvc?rev=835107&view=rev
>> Log:
>> get rid of some unused imports
>>
>> Modified:
>>
>> camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/MistypedPackageTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextAwareTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithDefaultErrorHandlerTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringAggregatorWithCustomStrategyTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringTopicLoadBalanceTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringExceptionBuilderWithRetryLoggingLevelSetTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionSubRouteTest.java
>>
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/xml/SpringXmlRouteBuilderTest.java
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/main/java/org/apache/camel/spring/CamelContextFactoryBean.java
>> Wed Nov 11 22:33:23 2009
>> @@ -17,7 +17,6 @@
>> package org.apache.camel.spring;
>>
>> import java.util.ArrayList;
>> -import java.util.Arrays;
>> import java.util.List;
>> import java.util.Map;
>>
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/MistypedPackageTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/MistypedPackageTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/MistypedPackageTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/component/event/MistypedPackageTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -16,10 +16,6 @@
>>  */
>> package org.apache.camel.component.event;
>>
>> -import org.apache.camel.Exchange;
>> -import org.apache.camel.component.mock.MockEndpoint;
>> -import org.apache.camel.spring.SpringTestSupport;
>> -import org.springframework.context.event.ContextRefreshedEvent;
>> import org.springframework.context.support.AbstractXmlApplicationContext;
>> import org.springframework.context.support.ClassPathXmlApplicationContext;
>>
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextAwareTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextAwareTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextAwareTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/CamelContextAwareTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -16,10 +16,8 @@
>>  */
>> package org.apache.camel.spring;
>>
>> -import java.lang.reflect.Method;
>> import java.util.Map;
>>
>> -import org.apache.camel.ProducerTemplate;
>> import org.apache.camel.impl.DefaultConsumerTemplate;
>> import org.apache.camel.impl.DefaultProducerTemplate;
>> import org.springframework.context.support.AbstractXmlApplicationContext;
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/SpringTransactionalClientDataSourceUsingTransactedTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -18,7 +18,6 @@
>>
>> import org.springframework.context.support.AbstractXmlApplicationContext;
>> import org.springframework.context.support.ClassPathXmlApplicationContext;
>> -import org.springframework.jdbc.core.JdbcTemplate;
>>
>> /**
>>  * Easier transaction configuration as we do not have to setup a
>> transaction error handler
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithDefaultErrorHandlerTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithDefaultErrorHandlerTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithDefaultErrorHandlerTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/interceptor/TransactionalClientDataSourceWithDefaultErrorHandlerTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -16,16 +16,6 @@
>>  */
>> package org.apache.camel.spring.interceptor;
>>
>> -import javax.sql.DataSource;
>> -
>> -import org.apache.camel.builder.RouteBuilder;
>> -import org.apache.camel.spring.SpringRouteBuilder;
>> -import org.apache.camel.spring.SpringTestSupport;
>> -import org.apache.camel.spring.spi.SpringTransactionPolicy;
>> -import
>> org.springframework.context.support.ClassPathXmlApplicationContext;
>> -import org.springframework.jdbc.core.JdbcTemplate;
>> -import org.springframework.transaction.support.TransactionTemplate;
>> -
>> /**
>>  * Using the default error handler = DeadLetterChannel to unit test that
>> this works out of the box
>>  * also, that Camel doesn't break.
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringAggregatorWithCustomStrategyTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringAggregatorWithCustomStrategyTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringAggregatorWithCustomStrategyTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringAggregatorWithCustomStrategyTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -19,7 +19,6 @@
>> import org.apache.camel.CamelContext;
>> import org.apache.camel.ContextTestSupport;
>> import org.apache.camel.component.mock.MockEndpoint;
>> -import org.apache.camel.processor.AggregatorTest;
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>> /**
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringComplexBlockWithEndTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -19,8 +19,6 @@
>> import org.apache.camel.CamelContext;
>> import org.apache.camel.ContextTestSupport;
>> import org.apache.camel.Exchange;
>> -import org.apache.camel.component.mock.MockEndpoint;
>> -import org.apache.camel.processor.AggregatorTest;
>> import org.apache.camel.processor.aggregate.AggregationStrategy;
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringTopicLoadBalanceTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringTopicLoadBalanceTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringTopicLoadBalanceTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/SpringTopicLoadBalanceTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -17,7 +17,6 @@
>> package org.apache.camel.spring.processor;
>>
>> import org.apache.camel.CamelContext;
>> -import org.apache.camel.processor.RandomLoadBalanceTest;
>> import org.apache.camel.processor.TopicLoadBalanceTest;
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringExceptionBuilderWithRetryLoggingLevelSetTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringExceptionBuilderWithRetryLoggingLevelSetTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringExceptionBuilderWithRetryLoggingLevelSetTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringExceptionBuilderWithRetryLoggingLevelSetTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -17,10 +17,7 @@
>> package org.apache.camel.spring.processor.onexception;
>>
>> import org.apache.camel.CamelContext;
>> -import org.apache.camel.ContextTestSupport;
>> import
>> org.apache.camel.builder.ExceptionBuilderWithRetryLoggingLevelSetTest;
>> -import org.apache.camel.component.mock.MockEndpoint;
>> -
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>> public class SpringExceptionBuilderWithRetryLoggingLevelSetTest extends
>> ExceptionBuilderWithRetryLoggingLevelSetTest {
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionNotNormalizedClassNameTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -18,7 +18,6 @@
>>
>> import org.apache.camel.CamelContext;
>> import org.apache.camel.ContextTestSupport;
>> -import org.apache.camel.RuntimeCamelException;
>> import org.apache.camel.component.mock.MockEndpoint;
>>
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionSubRouteTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionSubRouteTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionSubRouteTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/processor/onexception/SpringOnExceptionSubRouteTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -18,7 +18,6 @@
>>
>> import org.apache.camel.CamelContext;
>> import org.apache.camel.ContextTestSupport;
>> -import org.apache.camel.RuntimeCamelException;
>> import org.apache.camel.component.mock.MockEndpoint;
>>
>> import static
>> org.apache.camel.spring.processor.SpringTestHelper.createSpringCamelContext;
>>
>> Modified:
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/xml/SpringXmlRouteBuilderTest.java
>> URL:
>> http://svn.apache.org/viewvc/camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/xml/SpringXmlRouteBuilderTest.java?rev=835107&r1=835106&r2=835107&view=diff
>>
>> ==============================================================================
>> ---
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/xml/SpringXmlRouteBuilderTest.java
>> (original)
>> +++
>> camel/trunk/components/camel-spring/src/test/java/org/apache/camel/spring/xml/SpringXmlRouteBuilderTest.java
>> Wed Nov 11 22:33:23 2009
>> @@ -21,7 +21,6 @@
>> import org.apache.camel.Processor;
>> import org.apache.camel.Route;
>> import org.apache.camel.builder.RouteBuilderTest;
>> -import org.apache.camel.processor.DelegateProcessor;
>> import org.apache.camel.spring.SpringCamelContext;
>>
>> import org.springframework.context.support.AbstractXmlApplicationContext;
>>
>>
>>
>


-- 
Cheers,
Jon

Camel in Action: http://manning.com/ibsen
Blog: http://janstey.blogspot.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message