You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2023/09/28 07:08:46 UTC
[camel] branch main updated: (chores) camel-core: fixed checkstyle
This is an automated email from the ASF dual-hosted git repository.
orpiske pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 689e277e405 (chores) camel-core: fixed checkstyle
689e277e405 is described below
commit 689e277e4053878ab17689059207173b299ab928
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Thu Sep 28 09:08:17 2023 +0200
(chores) camel-core: fixed checkstyle
---
core/camel-api/src/main/java/org/apache/camel/spi/ClassResolver.java | 1 -
.../org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java | 4 ++--
.../test/java/org/apache/camel/processor/WireTapAbortPolicyTest.java | 1 -
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/ClassResolver.java b/core/camel-api/src/main/java/org/apache/camel/spi/ClassResolver.java
index 8c0f573bf2d..2bd504f96b7 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/ClassResolver.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/ClassResolver.java
@@ -18,7 +18,6 @@ package org.apache.camel.spi;
import java.io.InputStream;
import java.net.URL;
-import java.util.Collection;
import java.util.Enumeration;
import java.util.Set;
diff --git a/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java b/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java
index be4901a08f4..9e4f9db6442 100644
--- a/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java
+++ b/core/camel-core-xml/src/main/java/org/apache/camel/core/xml/AbstractCamelContextFactoryBean.java
@@ -1358,8 +1358,8 @@ public abstract class AbstractCamelContextFactoryBean<T extends ModelCamelContex
/**
* Creates a {@link ThreadPoolProfile} instance based on the definition.
*
- * @param context the camel context
- * @return the profile
+ * @param context the camel context
+ * @return the profile
*/
private ThreadPoolProfile asThreadPoolProfile(CamelContext context, ThreadPoolProfileDefinition definition) {
ThreadPoolProfile answer = new ThreadPoolProfile();
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapAbortPolicyTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapAbortPolicyTest.java
index 1282c69a9e8..57260b4be7d 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/WireTapAbortPolicyTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/WireTapAbortPolicyTest.java
@@ -30,7 +30,6 @@ import org.apache.camel.util.concurrent.ThreadPoolRejectedPolicy;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.RepeatedTest;
-import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.parallel.Isolated;
import static org.junit.jupiter.api.Assertions.fail;