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:03 UTC
[camel] 02/07: (chores) camel-pubnub: 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 ef5f42530299d0cb6457830cc9d36b5f1cf66781
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Fri Jan 6 15:51:38 2023 +0100
(chores) camel-pubnub: added missing private constructors
---
.../java/org/apache/camel/component/pubnub/PubNubConstants.java | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/components/camel-pubnub/src/main/java/org/apache/camel/component/pubnub/PubNubConstants.java b/components/camel-pubnub/src/main/java/org/apache/camel/component/pubnub/PubNubConstants.java
index 8af38832d9c..8e26e70c25c 100644
--- a/components/camel-pubnub/src/main/java/org/apache/camel/component/pubnub/PubNubConstants.java
+++ b/components/camel-pubnub/src/main/java/org/apache/camel/component/pubnub/PubNubConstants.java
@@ -18,7 +18,7 @@ package org.apache.camel.component.pubnub;
import org.apache.camel.spi.Metadata;
-public abstract class PubNubConstants {
+public final class PubNubConstants {
@Metadata(label = "producer", description = "The operation to perform.", javaType = "String")
public static final String OPERATION = "CamelPubNubOperation";
@Metadata(description = "The Timestamp for the event.", javaType = "Long")
@@ -27,4 +27,8 @@ public abstract class PubNubConstants {
public static final String CHANNEL = "CamelPubNubChannel";
@Metadata(label = "producer", description = "UUID to be used as a device identifier.", javaType = "String")
public static final String UUID = "CamelPubNubUUID";
+
+ private PubNubConstants() {
+
+ }
}