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 2026/01/26 17:13:10 UTC
(camel) 06/21: (chores): ensure usage of platform-specific newline characters
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
commit f680b62e238a80c914b5d69e30b4ddd00f95019a
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Mon Jan 26 14:34:51 2026 +0000
(chores): ensure usage of platform-specific newline characters
---
.../java/org/apache/camel/component/box/BoxCollaborationsManagerIT.java | 2 +-
.../src/test/java/org/apache/camel/component/box/BoxUsersManagerIT.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxCollaborationsManagerIT.java b/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxCollaborationsManagerIT.java
index 0fee2428c005..a99fa186612b 100644
--- a/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxCollaborationsManagerIT.java
+++ b/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxCollaborationsManagerIT.java
@@ -103,7 +103,7 @@ public class BoxCollaborationsManagerIT extends AbstractBoxITSupport {
LOG.debug("addFolderCollaboration: {}", result);
} catch (BoxAPIException e) {
throw new RuntimeCamelException(
- String.format("Box API returned the error code %d\n\n%s", e.getResponseCode(), e.getResponse()), e);
+ String.format("Box API returned the error code %d%n%n%s", e.getResponseCode(), e.getResponse()), e);
} finally {
if (user != null) {
user.delete(false, true);
diff --git a/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxUsersManagerIT.java b/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxUsersManagerIT.java
index b5c68ea3237d..fc47ef7cda7b 100644
--- a/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxUsersManagerIT.java
+++ b/components/camel-box/camel-box-component/src/test/java/org/apache/camel/component/box/BoxUsersManagerIT.java
@@ -189,7 +189,7 @@ public class BoxUsersManagerIT extends AbstractBoxITSupport {
emailAlias = testUser.addEmailAlias(CAMEL_TEST_USER_EMAIL_ALIAS);
} catch (BoxAPIException e) {
throw new RuntimeCamelException(
- String.format("Box API returned the error code %d\n\n%s", e.getResponseCode(), e.getResponse()), e);
+ String.format("Box API returned the error code %d%n%n%s", e.getResponseCode(), e.getResponse()), e);
}
final Map<String, Object> headers = new HashMap<>();