Skip to content

Commit 08ddede

Browse files
authored
Cleanup (#3)
* cleanup build * cleanup formatting
1 parent 3ccb439 commit 08ddede

File tree

8 files changed

+12
-22
lines changed

8 files changed

+12
-22
lines changed

build.gradle.kts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,6 @@ tasks.withType<Jar>().configureEach {
9191

9292
tasks.javadoc {
9393
title = "${metadata.readableName} ${project.version} API"
94-
95-
doLast {
96-
javaexec {
97-
main = "-jar"
98-
args("${projectDir}/gradle/tools/javadoc-cleaner-1.0.jar")
99-
}
100-
}
10194
}
10295

10396

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ version=4.4.0
22
#
33
# main dependencies
44
#
5-
slf4j.version=1.7.25
65
hivemq-sdk.version=4.4.0
6+
slf4j.version=1.7.30
77
#
88
# plugins
99
#

gradle/tools/javadoc-cleaner-1.0.jar

-5.83 KB
Binary file not shown.

src/main/java/com/hivemq/extensions/kafka/api/model/KafkaHeaders.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,4 @@ public interface KafkaHeaders {
5353
* @since 4.4.0
5454
*/
5555
@Immutable @NotNull List<@NotNull KafkaHeader> getAllForName(@NotNull String name);
56-
5756
}

src/main/java/com/hivemq/extensions/kafka/api/services/KafkaTopicService.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -104,12 +104,12 @@ enum KafkaTopicState {
104104
* state of this topic on the Kafka cluster can be assumed.
105105
* <p>
106106
* Reasons for FAILURE can include, but are not limited to:
107-
* <p><ul>
108-
* <li> Network degradation between HiveMQ and the Kafka cluster
109-
* <li> Insufficient permissions to perform the operation
110-
* <li> An unsuitable configuration in either the HiveMQ Enterprise Extension for Kafka or the Kafka cluster
111-
* <li> The internal state of the Kafka cluster
112-
* </ul><p>
107+
* <ul>
108+
* <li> Network degradation between HiveMQ and the Kafka cluster
109+
* <li> Insufficient permissions to perform the operation
110+
* <li> An unsuitable configuration in either the HiveMQ Enterprise Extension for Kafka or the Kafka cluster
111+
* <li> The internal state of the Kafka cluster
112+
* </ul>
113113
*
114114
* @since 4.4.0
115115
*/

src/main/java/com/hivemq/extensions/kafka/api/transformers/Transformer.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ public interface Transformer<I extends TransformerInitInput> {
3434
/**
3535
* Use the init method to set up static runtime context for the execution of your transformer.
3636
*
37-
* @param input see the specific input e.g. {@link com.hivemq.extensions.kafka.api.transformers.mqtttokafka.MqttToKafkaInitInput}.
37+
* @param input see the specific input e.g. {@link com.hivemq.extensions.kafka.api.transformers.mqtttokafka.MqttToKafkaInitInput
38+
* MqttToKafkaInitInput}.
3839
* @since 4.4.0
3940
*/
40-
default void init(@NotNull I input) {
41-
}
41+
default void init(final @NotNull I input) {}
4242
}

src/main/java/com/hivemq/extensions/kafka/api/transformers/TransformerInitInput.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,4 @@
2828
*/
2929
@Immutable
3030
@DoNotImplement
31-
public interface TransformerInitInput {
32-
33-
}
31+
public interface TransformerInitInput {}

src/main/java/com/hivemq/extensions/kafka/api/transformers/mqtttokafka/MqttToKafkaTransformer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@ public interface MqttToKafkaTransformer extends Transformer<MqttToKafkaInitInput
4848
* @since 4.4.0
4949
*/
5050
void transformMqttToKafka(@NotNull MqttToKafkaInput input, @NotNull MqttToKafkaOutput output);
51-
}
51+
}

0 commit comments

Comments
 (0)