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/12/19 16:28:11 UTC
(camel) branch main updated: (chores): regen/fixed checkstyle (#12490)
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 591c793651d (chores): regen/fixed checkstyle (#12490)
591c793651d is described below
commit 591c793651dfcb000a4da1b7e8633ab0dbd1161d
Author: Otavio Rodolfo Piske <or...@users.noreply.github.com>
AuthorDate: Tue Dec 19 13:28:04 2023 -0300
(chores): regen/fixed checkstyle (#12490)
---
.../src/main/java/org/apache/camel/Clock.java | 2 ++
.../org/apache/camel/spi/MessageHistoryFactory.java | 20 ++++++++++----------
.../camel/processor/converter/ConvertBodyTest.java | 4 ----
.../camel/processor/converter/ConvertHeaderTest.java | 4 ----
.../management/mbean/ManagedBacklogDebugger.java | 1 -
5 files changed, 12 insertions(+), 19 deletions(-)
diff --git a/core/camel-api/src/main/java/org/apache/camel/Clock.java b/core/camel-api/src/main/java/org/apache/camel/Clock.java
index 2936f8dd5d5..ffe50fe6387 100644
--- a/core/camel-api/src/main/java/org/apache/camel/Clock.java
+++ b/core/camel-api/src/main/java/org/apache/camel/Clock.java
@@ -43,6 +43,7 @@ public interface Clock {
/**
* Get the creation date/time as with time-zone information
+ *
* @return A ZonedDateTime instance from the computed creation time
*/
default ZonedDateTime asZonedCreationDateTime() {
@@ -51,6 +52,7 @@ public interface Clock {
/**
* Get the creation date/time as regular Java Date instance
+ *
* @return A Date instance from the computed creation time
*/
default Date asDate() {
diff --git a/core/camel-api/src/main/java/org/apache/camel/spi/MessageHistoryFactory.java b/core/camel-api/src/main/java/org/apache/camel/spi/MessageHistoryFactory.java
index 12534d070a9..c695694708b 100644
--- a/core/camel-api/src/main/java/org/apache/camel/spi/MessageHistoryFactory.java
+++ b/core/camel-api/src/main/java/org/apache/camel/spi/MessageHistoryFactory.java
@@ -30,12 +30,12 @@ public interface MessageHistoryFactory extends StaticService, CamelContextAware
/**
* Creates a new {@link MessageHistory}
*
- * @param routeId the route id
- * @param node the node in the route
- * @param timestamp the time the message processed at this node.
- * @param exchange the current exchange
- * @return a new {@link MessageHistory}
- * @deprecated use {@link #newMessageHistory(String, NamedNode, Exchange)}
+ * @param routeId the route id
+ * @param node the node in the route
+ * @param timestamp the time the message processed at this node.
+ * @param exchange the current exchange
+ * @return a new {@link MessageHistory}
+ * @deprecated use {@link #newMessageHistory(String, NamedNode, Exchange)}
*/
@Deprecated(since = "4.4.0")
MessageHistory newMessageHistory(String routeId, NamedNode node, long timestamp, Exchange exchange);
@@ -43,10 +43,10 @@ public interface MessageHistoryFactory extends StaticService, CamelContextAware
/**
* Creates a new {@link MessageHistory}
*
- * @param routeId the route id
- * @param node the node in the route
- * @param exchange the current exchange
- * @return a new {@link MessageHistory}
+ * @param routeId the route id
+ * @param node the node in the route
+ * @param exchange the current exchange
+ * @return a new {@link MessageHistory}
*/
MessageHistory newMessageHistory(String routeId, NamedNode node, Exchange exchange);
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertBodyTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertBodyTest.java
index c7af7ffbd0c..af5f8745510 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertBodyTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertBodyTest.java
@@ -33,10 +33,6 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
-import java.io.ByteArrayInputStream;
-import java.nio.charset.UnsupportedCharsetException;
-import java.util.Date;
-
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
diff --git a/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertHeaderTest.java b/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertHeaderTest.java
index 799547701e3..c3a5be38fcc 100644
--- a/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertHeaderTest.java
+++ b/core/camel-core/src/test/java/org/apache/camel/processor/converter/ConvertHeaderTest.java
@@ -31,10 +31,6 @@ import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnOs;
import org.junit.jupiter.api.condition.OS;
-import java.io.ByteArrayInputStream;
-import java.nio.charset.UnsupportedCharsetException;
-import java.util.Date;
-
import static org.junit.jupiter.api.Assertions.assertTrue;
import static org.junit.jupiter.api.Assertions.fail;
diff --git a/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedBacklogDebugger.java b/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedBacklogDebugger.java
index 206efa9a67e..f5980dced53 100644
--- a/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedBacklogDebugger.java
+++ b/core/camel-management/src/main/java/org/apache/camel/management/mbean/ManagedBacklogDebugger.java
@@ -37,7 +37,6 @@ import org.apache.camel.spi.Language;
import org.apache.camel.spi.ManagementStrategy;
import org.apache.camel.support.LoggerHelper;
import org.apache.camel.util.StringHelper;
-import org.apache.camel.util.TimeUtils;
import org.apache.camel.util.URISupport;
@ManagedResource(description = "Managed BacklogDebugger")