camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject [5/5] camel git commit: tidy
Date Wed, 12 Apr 2017 19:43:26 GMT
tidy


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

Branch: refs/heads/master
Commit: 514840908bfebbf4112aeefdf9f3751dcc539a11
Parents: f0bf7ba
Author: Jonathan Anstey <janstey@gmail.com>
Authored: Wed Apr 12 17:11:25 2017 -0230
Committer: Jonathan Anstey <janstey@gmail.com>
Committed: Wed Apr 12 17:13:01 2017 -0230

----------------------------------------------------------------------
 .../camel/component/zendesk/ZendeskComponent.java   |  1 -
 .../component/zendesk/ZendeskConfiguration.java     |  4 ----
 .../camel/component/zendesk/ZendeskConsumer.java    |  3 ---
 .../camel/component/zendesk/ZendeskEndpoint.java    |  5 -----
 .../camel/component/zendesk/ZendeskProducer.java    |  2 --
 .../component/zendesk/internal/ZendeskHelper.java   | 16 ----------------
 6 files changed, 31 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskComponent.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskComponent.java
index c52366c..199734c 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskComponent.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskComponent.java
@@ -23,7 +23,6 @@ import org.apache.camel.Endpoint;
 import org.apache.camel.component.zendesk.internal.ZendeskApiCollection;
 import org.apache.camel.component.zendesk.internal.ZendeskApiName;
 import org.apache.camel.component.zendesk.internal.ZendeskHelper;
-import org.apache.camel.impl.DefaultComponent;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.util.IOHelper;
 import org.apache.camel.util.component.AbstractApiComponent;

http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConfiguration.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConfiguration.java
index 15c755d..d4bae86 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConfiguration.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConfiguration.java
@@ -16,10 +16,6 @@
  */
 package org.apache.camel.component.zendesk;
 
-import java.util.Map;
-
-import org.apache.camel.RuntimeCamelException;
-import org.apache.camel.component.zendesk.internal.ZendeskApiName;
 import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriParam;
 import org.apache.camel.spi.UriParams;

http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConsumer.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConsumer.java
index 944f059..d39e492 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConsumer.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskConsumer.java
@@ -16,9 +16,6 @@
  */
 package org.apache.camel.component.zendesk;
 
-import java.util.List;
-import java.util.Stack;
-
 import org.apache.camel.Processor;
 import org.apache.camel.component.zendesk.internal.ZendeskApiName;
 import org.apache.camel.util.component.AbstractApiConsumer;

http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskEndpoint.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskEndpoint.java
index 5b44b1f..4e60c37 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskEndpoint.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskEndpoint.java
@@ -16,7 +16,6 @@
  */
 package org.apache.camel.component.zendesk;
 
-import java.lang.reflect.Proxy;
 import java.util.Map;
 
 import org.apache.camel.Consumer;
@@ -27,13 +26,9 @@ import org.apache.camel.component.zendesk.internal.ZendeskApiName;
 import org.apache.camel.component.zendesk.internal.ZendeskConstants;
 import org.apache.camel.component.zendesk.internal.ZendeskHelper;
 import org.apache.camel.component.zendesk.internal.ZendeskPropertiesHelper;
-import org.apache.camel.impl.DefaultEndpoint;
-import org.apache.camel.spi.Metadata;
 import org.apache.camel.spi.UriEndpoint;
 import org.apache.camel.spi.UriParam;
-import org.apache.camel.spi.UriPath;
 import org.apache.camel.util.IOHelper;
-import org.apache.camel.util.ObjectHelper;
 import org.apache.camel.util.component.AbstractApiEndpoint;
 import org.apache.camel.util.component.ApiMethod;
 import org.apache.camel.util.component.ApiMethodPropertiesHelper;

http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskProducer.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskProducer.java
index eacd70f..fd57981 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskProducer.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/ZendeskProducer.java
@@ -16,10 +16,8 @@
  */
 package org.apache.camel.component.zendesk;
 
-import org.apache.camel.Exchange;
 import org.apache.camel.component.zendesk.internal.ZendeskApiName;
 import org.apache.camel.component.zendesk.internal.ZendeskPropertiesHelper;
-import org.apache.camel.impl.DefaultProducer;
 import org.apache.camel.util.component.AbstractApiProducer;
 
 /**

http://git-wip-us.apache.org/repos/asf/camel/blob/51484090/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/internal/ZendeskHelper.java
----------------------------------------------------------------------
diff --git a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/internal/ZendeskHelper.java
b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/internal/ZendeskHelper.java
index f9cf690..fbfe5e2 100644
--- a/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/internal/ZendeskHelper.java
+++ b/components/camel-zendesk/src/main/java/org/apache/camel/component/zendesk/internal/ZendeskHelper.java
@@ -16,23 +16,7 @@
  */
 package org.apache.camel.component.zendesk.internal;
 
-import java.io.IOException;
-import java.net.URL;
-import java.nio.file.Files;
-import java.nio.file.Paths;
-import java.security.GeneralSecurityException;
-import java.security.SecureRandom;
-import java.util.HashMap;
-import java.util.Map;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import org.apache.camel.RuntimeCamelException;
 import org.apache.camel.component.zendesk.ZendeskConfiguration;
-import org.apache.camel.util.ObjectHelper;
-import org.apache.camel.util.jsse.SSLContextParameters;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
 import org.zendesk.client.v2.Zendesk;
 
 /**


Mime
View raw message