From 8e2c30ebb61e321f144035c71f4490d16b6d02d4 Mon Sep 17 00:00:00 2001 From: Pavel Bodiachevskii Date: Tue, 30 Apr 2024 16:42:02 +0400 Subject: [PATCH] feat(bindings): all parent classes must be abstract https://github.com/asyncapi/jasyncapi/issues/184 --- .../java/com/asyncapi/bindings/kafka/KafkaChannelBinding.java | 2 +- .../java/com/asyncapi/bindings/kafka/KafkaMessageBinding.java | 2 +- .../java/com/asyncapi/bindings/kafka/KafkaOperationBinding.java | 2 +- .../java/com/asyncapi/bindings/kafka/KafkaServerBinding.java | 2 +- .../java/com/asyncapi/bindings/mqtt/MQTTChannelBinding.java | 2 +- .../java/com/asyncapi/bindings/mqtt/MQTTMessageBinding.java | 2 +- .../java/com/asyncapi/bindings/mqtt/MQTTOperationBinding.java | 2 +- .../main/java/com/asyncapi/bindings/mqtt/MQTTServerBinding.java | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaChannelBinding.java index d393393a..f9e819ce 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaChannelBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaChannelBinding.java @@ -26,4 +26,4 @@ }), }) @EqualsAndHashCode(callSuper = true) -public class KafkaChannelBinding extends ChannelBinding {} \ No newline at end of file +public abstract class KafkaChannelBinding extends ChannelBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaMessageBinding.java index 7f231b72..4d296199 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaMessageBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaMessageBinding.java @@ -28,4 +28,4 @@ }), }) @EqualsAndHashCode(callSuper = true) -public class KafkaMessageBinding extends MessageBinding {} \ No newline at end of file +public abstract class KafkaMessageBinding extends MessageBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaOperationBinding.java index c4a3b8bf..bc196616 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaOperationBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaOperationBinding.java @@ -28,4 +28,4 @@ }), }) @EqualsAndHashCode(callSuper = true) -public class KafkaOperationBinding extends OperationBinding {} \ No newline at end of file +public abstract class KafkaOperationBinding extends OperationBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaServerBinding.java index ae03fc20..86cdd075 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaServerBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/kafka/KafkaServerBinding.java @@ -26,4 +26,4 @@ }), }) @EqualsAndHashCode(callSuper = true) -public class KafkaServerBinding extends ServerBinding {} \ No newline at end of file +public abstract class KafkaServerBinding extends ServerBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTChannelBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTChannelBinding.java index ed1b870d..a509c2cb 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTChannelBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTChannelBinding.java @@ -11,4 +11,4 @@ * @see MQTT channel binding * @author Pavel Bodiachevskii */ -public class MQTTChannelBinding extends ChannelBinding {} \ No newline at end of file +public abstract class MQTTChannelBinding extends ChannelBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTMessageBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTMessageBinding.java index 40850a3f..ce8fe322 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTMessageBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTMessageBinding.java @@ -11,4 +11,4 @@ * @see MQTT message binding * @author Pavel Bodiachevskii */ -public class MQTTMessageBinding extends MessageBinding {} \ No newline at end of file +public abstract class MQTTMessageBinding extends MessageBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTOperationBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTOperationBinding.java index 43b6eae6..efc12256 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTOperationBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTOperationBinding.java @@ -11,4 +11,4 @@ * @see MQTT operation binding * @author Pavel Bodiachevskii */ -public class MQTTOperationBinding extends OperationBinding {} \ No newline at end of file +public abstract class MQTTOperationBinding extends OperationBinding {} \ No newline at end of file diff --git a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTServerBinding.java b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTServerBinding.java index ed7752f8..1156b2ac 100644 --- a/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTServerBinding.java +++ b/asyncapi-core/src/main/java/com/asyncapi/bindings/mqtt/MQTTServerBinding.java @@ -11,4 +11,4 @@ * @see MQTT server binding * @author Pavel Bodiachevskii */ -public class MQTTServerBinding extends ServerBinding {} \ No newline at end of file +public abstract class MQTTServerBinding extends ServerBinding {} \ No newline at end of file