You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2016/07/15 08:32:55 UTC
camel git commit: Polished
Repository: camel
Updated Branches:
refs/heads/master 8bed232e6 -> b73acbccd
Polished
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/b73acbcc
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/b73acbcc
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/b73acbcc
Branch: refs/heads/master
Commit: b73acbccdf49d5ec351e305a334b438e9376fb05
Parents: 8bed232
Author: Andrea Cosentino <an...@gmail.com>
Authored: Fri Jul 15 10:32:01 2016 +0200
Committer: Andrea Cosentino <an...@gmail.com>
Committed: Fri Jul 15 10:32:01 2016 +0200
----------------------------------------------------------------------
.../apache/camel/component/influxdb/CamelInfluxDbException.java | 4 +++-
.../org/apache/camel/component/influxdb/InfluxDbComponent.java | 5 +----
.../org/apache/camel/component/influxdb/InfluxDbConstants.java | 3 ---
.../org/apache/camel/component/influxdb/InfluxDbEndpoint.java | 1 -
.../component/influxdb/converters/CamelInfluxDbConverters.java | 1 -
.../apache/camel/component/influxdb/AbstractInfluxDbTest.java | 1 -
.../apache/camel/component/influxdb/InfluxDbProducerTest.java | 1 -
.../camel/component/influxdb/MockedInfluxDbConfiguration.java | 1 -
8 files changed, 4 insertions(+), 13 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/CamelInfluxDbException.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/CamelInfluxDbException.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/CamelInfluxDbException.java
index aedbfb5..ea50714 100644
--- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/CamelInfluxDbException.java
+++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/CamelInfluxDbException.java
@@ -18,7 +18,9 @@ package org.apache.camel.component.influxdb;
public class CamelInfluxDbException extends RuntimeException {
- public CamelInfluxDbException(String message, Throwable cause) {
+ private static final long serialVersionUID = 1L;
+
+ public CamelInfluxDbException(String message, Throwable cause) {
super(message, cause);
}
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbComponent.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbComponent.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbComponent.java
index 9cb5657..2a6e5a1 100644
--- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbComponent.java
+++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbComponent.java
@@ -19,16 +19,13 @@ package org.apache.camel.component.influxdb;
import java.util.Map;
import org.apache.camel.Endpoint;
-import org.apache.camel.impl.DefaultComponent;
import org.apache.camel.impl.UriEndpointComponent;
import org.apache.camel.util.CamelContextHelper;
import org.influxdb.InfluxDB;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-/**
- * Created by jose on 18/06/16.
- */
+
public class InfluxDbComponent extends UriEndpointComponent {
private static final Logger LOG = LoggerFactory.getLogger(InfluxDbComponent.class);
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbConstants.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbConstants.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbConstants.java
index e98d947..06a7124 100644
--- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbConstants.java
+++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbConstants.java
@@ -16,9 +16,6 @@
*/
package org.apache.camel.component.influxdb;
-/**
- * Created by jose on 18/06/16.
- */
public final class InfluxDbConstants {
public static final String MEASUREMENT_NAME = "camelInfluxDB.MeasurementName";
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java
index f0fc3f9..50d1f09 100644
--- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java
+++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/InfluxDbEndpoint.java
@@ -24,7 +24,6 @@ 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.CamelContextHelper;
import org.influxdb.InfluxDB;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/converters/CamelInfluxDbConverters.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/converters/CamelInfluxDbConverters.java b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/converters/CamelInfluxDbConverters.java
index 5d3b0b6..6544c98 100644
--- a/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/converters/CamelInfluxDbConverters.java
+++ b/components/camel-influxdb/src/main/java/org/apache/camel/component/influxdb/converters/CamelInfluxDbConverters.java
@@ -23,7 +23,6 @@ import org.apache.camel.component.influxdb.CamelInfluxDbException;
import org.apache.camel.component.influxdb.InfluxDbConstants;
import org.influxdb.dto.Point;
-
@Converter
public final class CamelInfluxDbConverters {
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/AbstractInfluxDbTest.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/AbstractInfluxDbTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/AbstractInfluxDbTest.java
index f4719d5..f1a3dc2 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/AbstractInfluxDbTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/AbstractInfluxDbTest.java
@@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.component.influxdb;
import org.apache.camel.CamelContext;
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
index 4dd6cae..9bfe171 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/InfluxDbProducerTest.java
@@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.component.influxdb;
import java.util.HashMap;
http://git-wip-us.apache.org/repos/asf/camel/blob/b73acbcc/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/MockedInfluxDbConfiguration.java
----------------------------------------------------------------------
diff --git a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/MockedInfluxDbConfiguration.java b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/MockedInfluxDbConfiguration.java
index 08f9fed..1705aa2 100644
--- a/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/MockedInfluxDbConfiguration.java
+++ b/components/camel-influxdb/src/test/java/org/apache/camel/component/influxdb/MockedInfluxDbConfiguration.java
@@ -14,7 +14,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.apache.camel.component.influxdb;
import java.net.UnknownHostException;