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/01/06 16:18:05 UTC

[camel] 04/07: (chores) camel-salesforce: added missing private constructors

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 f7f3c85eb83d8cc6474503e1c98673822ab30b2c
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 6 15:54:06 2023 +0100

    (chores) camel-salesforce: added missing private constructors
---
 .../org/apache/camel/component/salesforce/api/utils/JsonUtils.java  | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/utils/JsonUtils.java b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/utils/JsonUtils.java
index 78922b39bca..66d6afe2e34 100644
--- a/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/utils/JsonUtils.java
+++ b/components/camel-salesforce/camel-salesforce-component/src/main/java/org/apache/camel/component/salesforce/api/utils/JsonUtils.java
@@ -67,13 +67,17 @@ import static java.util.stream.Collectors.joining;
 /**
  * Factory class for creating {@linkplain com.fasterxml.jackson.databind.ObjectMapper}
  */
-public abstract class JsonUtils {
+public final class JsonUtils {
 
     public static final String SCHEMA4 = "http://json-schema.org/draft-04/schema#";
     public static final String DEFAULT_ID_PREFIX = "urn:jsonschema:org:apache:camel:component:salesforce:dto";
 
     private static final String API_DTO_ID = "org:urn:jsonschema:org:apache:camel:component:salesforce:api:dto";
 
+    private JsonUtils() {
+
+    }
+
     public static ObjectMapper createObjectMapper() {
         // enable date time support including Java 1.8 ZonedDateTime
         ObjectMapper objectMapper = new ObjectMapper();