This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git The following commit(s) were added to refs/heads/master by this push: new ad9704d Remove unused suppressed warnings ad9704d is described below commit ad9704d9f6c2f8d16873f19133c03c952085e91a Author: Aurélien Pupier AuthorDate: Fri Dec 8 15:50:18 2017 +0100 Remove unused suppressed warnings --- .../main/java/org/apache/camel/component/file/GenericFileProducer.java | 1 - .../main/java/org/apache/camel/model/IdempotentConsumerDefinition.java | 1 - camel-core/src/main/java/org/apache/camel/util/LRUCacheFactory.java | 1 - camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java | 1 - 4 files changed, 4 deletions(-) diff --git a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java index d96884b..28a7892 100644 --- a/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java +++ b/camel-core/src/main/java/org/apache/camel/component/file/GenericFileProducer.java @@ -397,7 +397,6 @@ public class GenericFileProducer extends DefaultProducer { } @Override - @SuppressWarnings("unchecked") protected void doStart() throws Exception { ServiceHelper.startService(locks); super.doStart(); diff --git a/camel-core/src/main/java/org/apache/camel/model/IdempotentConsumerDefinition.java b/camel-core/src/main/java/org/apache/camel/model/IdempotentConsumerDefinition.java index 9a58704..7d724ac 100644 --- a/camel-core/src/main/java/org/apache/camel/model/IdempotentConsumerDefinition.java +++ b/camel-core/src/main/java/org/apache/camel/model/IdempotentConsumerDefinition.java @@ -217,7 +217,6 @@ public class IdempotentConsumerDefinition extends ExpressionNode { } @Override - @SuppressWarnings("unchecked") public Processor createProcessor(RouteContext routeContext) throws Exception { Processor childProcessor = this.createChildProcessor(routeContext, true); diff --git a/camel-core/src/main/java/org/apache/camel/util/LRUCacheFactory.java b/camel-core/src/main/java/org/apache/camel/util/LRUCacheFactory.java index 97d5018..9b7498e 100644 --- a/camel-core/src/main/java/org/apache/camel/util/LRUCacheFactory.java +++ b/camel-core/src/main/java/org/apache/camel/util/LRUCacheFactory.java @@ -37,7 +37,6 @@ public final class LRUCacheFactory { /** * Warm-up the LRUCache to startup Apache Camel faster. */ - @SuppressWarnings("unchecked") public static void warmUp() { // create a dummy map in a separate thread to warm-up the Caffeine cache concurrently // while Camel is starting up. This allows us to overall startup Camel a bit faster diff --git a/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java b/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java index 1bb8ce1..db5b9b9 100644 --- a/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java +++ b/camel-core/src/main/java/org/apache/camel/util/ObjectHelper.java @@ -392,7 +392,6 @@ public final class ObjectHelper { * @param value the value, if its a String it will be tested for text length as well * @return true if not empty */ - @SuppressWarnings("unchecked") public static boolean isNotEmpty(Object value) { if (value == null) { return false; -- To stop receiving notification emails like this one, please contact ['"commits@camel.apache.org" '].