camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zregv...@apache.org
Subject camel git commit: Cleanup: bulk removal of unused imports
Date Fri, 23 Jun 2017 18:42:08 GMT
Repository: camel
Updated Branches:
  refs/heads/master 66697f6dd -> 65bcc4c50


Cleanup: bulk removal of unused imports


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

Branch: refs/heads/master
Commit: 65bcc4c50133bcb71037d678aa45e832109da33e
Parents: 66697f6
Author: Zoran Regvart <zregvart@apache.org>
Authored: Fri Jun 23 20:41:22 2017 +0200
Committer: Zoran Regvart <zregvart@apache.org>
Committed: Fri Jun 23 20:41:50 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/camel/component/bean/MethodInfo.java | 1 -
 .../main/java/org/apache/camel/component/mock/MockEndpoint.java   | 1 -
 .../src/main/java/org/apache/camel/impl/DefaultDebugger.java      | 1 -
 .../java/org/apache/camel/spi/EndpointUtilizationStatistics.java  | 1 -
 .../src/main/java/org/apache/camel/util/IntrospectionSupport.java | 1 -
 .../src/main/java/org/apache/camel/util/ReflectionHelper.java     | 2 --
 .../camel/component/file/FileProducerCharsetUTFOptimizedTest.java | 3 ---
 .../file/FileProducerCharsetUTFtoISOConvertBodyToTest.java        | 3 ---
 .../camel/component/file/FileProducerCharsetUTFtoISOTest.java     | 3 ---
 .../apache/camel/component/validator/ValidatorBeanCallTest.java   | 3 ---
 .../src/test/java/org/apache/camel/converter/IOConverterTest.java | 1 -
 .../java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java   | 1 -
 .../camel/management/EventNotifierExchangeCompletedTest.java      | 1 -
 .../java/org/apache/camel/processor/SimpleMockSampleTest.java     | 3 ---
 .../java/org/apache/camel/processor/interceptor/TracerTest.java   | 1 -
 15 files changed, 26 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java b/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
index 28dfe77..08aa6c2 100644
--- a/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
+++ b/camel-core/src/main/java/org/apache/camel/component/bean/MethodInfo.java
@@ -24,7 +24,6 @@ import java.lang.reflect.Method;
 import java.lang.reflect.Modifier;
 import java.util.ArrayList;
 import java.util.Arrays;
-import java.util.Collections;
 import java.util.HashMap;
 import java.util.Iterator;
 import java.util.List;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java b/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
index 3112a46..1dbf173 100644
--- a/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
+++ b/camel-core/src/main/java/org/apache/camel/component/mock/MockEndpoint.java
@@ -54,7 +54,6 @@ import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriPath;
 import org.apache.camel.util.CamelContextHelper;
-import org.apache.camel.util.CaseInsensitiveMap;
 import org.apache.camel.util.ExchangeHelper;
 import org.apache.camel.util.ExpressionComparator;
 import org.apache.camel.util.FileUtil;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/impl/DefaultDebugger.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/impl/DefaultDebugger.java b/camel-core/src/main/java/org/apache/camel/impl/DefaultDebugger.java
index cceb35f..aa0dec1 100644
--- a/camel-core/src/main/java/org/apache/camel/impl/DefaultDebugger.java
+++ b/camel-core/src/main/java/org/apache/camel/impl/DefaultDebugger.java
@@ -33,7 +33,6 @@ import org.apache.camel.LoggingLevel;
 import org.apache.camel.MessageHistory;
 import org.apache.camel.NamedNode;
 import org.apache.camel.Processor;
-import org.apache.camel.RouteNode;
 import org.apache.camel.management.event.AbstractExchangeEvent;
 import org.apache.camel.management.event.ExchangeCompletedEvent;
 import org.apache.camel.management.event.ExchangeCreatedEvent;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/spi/EndpointUtilizationStatistics.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/spi/EndpointUtilizationStatistics.java
b/camel-core/src/main/java/org/apache/camel/spi/EndpointUtilizationStatistics.java
index ca6cfba..dabcd06 100644
--- a/camel-core/src/main/java/org/apache/camel/spi/EndpointUtilizationStatistics.java
+++ b/camel-core/src/main/java/org/apache/camel/spi/EndpointUtilizationStatistics.java
@@ -17,7 +17,6 @@
 package org.apache.camel.spi;
 
 import java.util.Map;
-import java.util.concurrent.atomic.LongAdder;
 
 /**
  * Various statistics about endpoint utilization, such as from EIP patterns that uses dynamic
endpoints.

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
index 67da44b..9a75406 100644
--- a/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
+++ b/camel-core/src/main/java/org/apache/camel/util/IntrospectionSupport.java
@@ -37,7 +37,6 @@ import java.util.Locale;
 import java.util.Map;
 import java.util.Map.Entry;
 import java.util.Set;
-import java.util.regex.Pattern;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.Component;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/main/java/org/apache/camel/util/ReflectionHelper.java
----------------------------------------------------------------------
diff --git a/camel-core/src/main/java/org/apache/camel/util/ReflectionHelper.java b/camel-core/src/main/java/org/apache/camel/util/ReflectionHelper.java
index fb84766..0a4b8cf 100644
--- a/camel-core/src/main/java/org/apache/camel/util/ReflectionHelper.java
+++ b/camel-core/src/main/java/org/apache/camel/util/ReflectionHelper.java
@@ -17,10 +17,8 @@
 package org.apache.camel.util;
 
 import java.lang.reflect.Field;
-import java.lang.reflect.InvocationTargetException;
 import java.lang.reflect.Method;
 import java.lang.reflect.Modifier;
-import java.lang.reflect.UndeclaredThrowableException;
 import java.util.Arrays;
 
 /**

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFOptimizedTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFOptimizedTest.java
b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFOptimizedTest.java
index 7ec8904..e390742 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFOptimizedTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFOptimizedTest.java
@@ -17,8 +17,6 @@
 package org.apache.camel.component.file;
 
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.nio.charset.Charset;
@@ -27,7 +25,6 @@ import java.nio.file.Paths;
 
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.util.IOHelper;
 
 /**
  *

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOConvertBodyToTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOConvertBodyToTest.java
b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOConvertBodyToTest.java
index d7d1dbd..c6da3b3 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOConvertBodyToTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOConvertBodyToTest.java
@@ -17,8 +17,6 @@
 package org.apache.camel.component.file;
 
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.nio.charset.Charset;
@@ -28,7 +26,6 @@ import java.nio.file.Paths;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.util.IOHelper;
 
 /**
  *

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOTest.java
b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOTest.java
index f15859f..52bb085 100644
--- a/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/file/FileProducerCharsetUTFtoISOTest.java
@@ -17,8 +17,6 @@
 package org.apache.camel.component.file;
 
 import java.io.File;
-import java.io.FileInputStream;
-import java.io.FileOutputStream;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.nio.charset.Charset;
@@ -27,7 +25,6 @@ import java.nio.file.Paths;
 
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
-import org.apache.camel.util.IOHelper;
 
 /**
  *

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorBeanCallTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorBeanCallTest.java
b/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorBeanCallTest.java
index c194090..e258ffc 100644
--- a/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorBeanCallTest.java
+++ b/camel-core/src/test/java/org/apache/camel/component/validator/ValidatorBeanCallTest.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.component.validator;
 
-import java.io.FileInputStream;
-import java.io.FileNotFoundException;
-import java.io.IOException;
 import java.io.InputStream;
 import java.nio.file.Files;
 import java.nio.file.Paths;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/converter/IOConverterTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/converter/IOConverterTest.java b/camel-core/src/test/java/org/apache/camel/converter/IOConverterTest.java
index 7132e8d..87d4caa 100644
--- a/camel-core/src/test/java/org/apache/camel/converter/IOConverterTest.java
+++ b/camel-core/src/test/java/org/apache/camel/converter/IOConverterTest.java
@@ -23,7 +23,6 @@ import java.io.BufferedWriter;
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.File;
-import java.io.FileInputStream;
 import java.io.InputStream;
 import java.io.OutputStream;
 import java.io.Reader;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java
b/camel-core/src/test/java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java
index d563a9a..d25cc34 100644
--- a/camel-core/src/test/java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java
+++ b/camel-core/src/test/java/org/apache/camel/impl/RuntimeEndpointRegistryTest.java
@@ -18,7 +18,6 @@ package org.apache.camel.impl;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
-import org.apache.camel.ManagementStatisticsLevel;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.spi.RuntimeEndpointRegistry;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/management/EventNotifierExchangeCompletedTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/management/EventNotifierExchangeCompletedTest.java
b/camel-core/src/test/java/org/apache/camel/management/EventNotifierExchangeCompletedTest.java
index f37e7e0..c8d9057 100644
--- a/camel-core/src/test/java/org/apache/camel/management/EventNotifierExchangeCompletedTest.java
+++ b/camel-core/src/test/java/org/apache/camel/management/EventNotifierExchangeCompletedTest.java
@@ -23,7 +23,6 @@ import java.util.List;
 
 import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
-import org.apache.camel.Exchange;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.impl.DefaultCamelContext;
 import org.apache.camel.management.event.ExchangeCompletedEvent;

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/processor/SimpleMockSampleTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/SimpleMockSampleTest.java
b/camel-core/src/test/java/org/apache/camel/processor/SimpleMockSampleTest.java
index 2a084ce..92e3de6 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/SimpleMockSampleTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/SimpleMockSampleTest.java
@@ -16,12 +16,9 @@
  */
 package org.apache.camel.processor;
 
-import org.apache.camel.CamelContext;
 import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
-import org.apache.camel.impl.DefaultCamelContext;
-import org.apache.camel.impl.SimpleRegistry;
 
 /**
  * @version 

http://git-wip-us.apache.org/repos/asf/camel/blob/65bcc4c5/camel-core/src/test/java/org/apache/camel/processor/interceptor/TracerTest.java
----------------------------------------------------------------------
diff --git a/camel-core/src/test/java/org/apache/camel/processor/interceptor/TracerTest.java
b/camel-core/src/test/java/org/apache/camel/processor/interceptor/TracerTest.java
index d0eaacd..02d31e6 100644
--- a/camel-core/src/test/java/org/apache/camel/processor/interceptor/TracerTest.java
+++ b/camel-core/src/test/java/org/apache/camel/processor/interceptor/TracerTest.java
@@ -21,7 +21,6 @@ import org.apache.camel.ContextTestSupport;
 import org.apache.camel.builder.RouteBuilder;
 import org.apache.camel.component.mock.MockEndpoint;
 import org.apache.camel.impl.JndiRegistry;
-import org.junit.Ignore;
 
 /**
  * @version 


Mime
View raw message