Skip to content

Commit bf9d391

Browse files
committed
Issue 10070: Fix JavaDoc warnings
Fixed incorrect arguments and class names in JavaDoc comments Signed-off-by: Anayonkar Shivalkar <[email protected]>
1 parent ca822a2 commit bf9d391

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ configure(javaProjects) { subproject ->
263263

264264
tasks.withType(Javadoc) {
265265
options.addBooleanOption('Xdoclint:syntax', true) // only check syntax with doclint
266-
// TODO until all fixed options.addBooleanOption('Werror', true) // fail build on Javadoc warnings
266+
options.addBooleanOption('Werror', true) // fail build on Javadoc warnings
267267
}
268268

269269
tasks.withType(JavaForkOptions) {

spring-integration-amqp/src/main/java/org/springframework/integration/amqp/support/MappingUtils.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2022 the original author or authors.
2+
* Copyright 2016-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -95,7 +95,7 @@ private static org.springframework.amqp.core.Message doMapMessage(Message<?> mes
9595
* {@link ContentTypeDelegatingMessageConverter}, {@link AmqpHeaders#CONTENT_TYPE} and
9696
* {@link MessageHeaders#CONTENT_TYPE} will be used for the selection, with the AMQP
9797
* header taking precedence.
98-
* @param replyMessage the reply message.
98+
* @param message the reply message.
9999
* @param converter the message converter to use.
100100
* @param headerMapper the header mapper to use.
101101
* @param headersMappedLast true if headers are mapped after conversion.

spring-integration-kafka/src/main/java/org/springframework/integration/kafka/dsl/KafkaInboundGatewaySpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2023 the original author or authors.
2+
* Copyright 2018-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -95,7 +95,7 @@ public S recoveryCallback(RecoveryCallback<?> recoveryCallback) {
9595

9696
/**
9797
* Specify a {@link BiConsumer} for seeks management during
98-
* {@link ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
98+
* {@link ConsumerSeekAware#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
9999
* call from the {@link org.springframework.kafka.listener.KafkaMessageListenerContainer}.
100100
* @param onPartitionsAssignedCallback the {@link BiConsumer} to use
101101
* @return the spec

spring-integration-kafka/src/main/java/org/springframework/integration/kafka/dsl/KafkaMessageDrivenChannelAdapterSpec.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2016-2023 the original author or authors.
2+
* Copyright 2016-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -168,7 +168,7 @@ public S filterInRetry(boolean filterInRetry) {
168168

169169
/**
170170
* Specify a {@link BiConsumer} for seeks management during
171-
* {@link ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
171+
* {@link ConsumerSeekAware#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
172172
* call from the {@link org.springframework.kafka.listener.KafkaMessageListenerContainer}.
173173
* @param onPartitionsAssignedCallback the {@link BiConsumer} to use
174174
* @return the spec

spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaInboundGateway.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2018-2023 the original author or authors.
2+
* Copyright 2018-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -165,7 +165,7 @@ public void setRecoveryCallback(RecoveryCallback<?> recoveryCallback) {
165165

166166
/**
167167
* Specify a {@link BiConsumer} for seeks management during
168-
* {@link ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
168+
* {@link ConsumerSeekAware#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
169169
* call from the {@link org.springframework.kafka.listener.KafkaMessageListenerContainer}.
170170
* This is called from the internal
171171
* {@link org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter} implementation.

spring-integration-kafka/src/main/java/org/springframework/integration/kafka/inbound/KafkaMessageDrivenChannelAdapter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ public void setPayloadType(Class<?> payloadType) {
252252

253253
/**
254254
* Specify a {@link BiConsumer} for seeks management during
255-
* {@link ConsumerSeekAware.ConsumerSeekCallback#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
255+
* {@link ConsumerSeekAware#onPartitionsAssigned(Map, ConsumerSeekAware.ConsumerSeekCallback)}
256256
* call from the {@link org.springframework.kafka.listener.KafkaMessageListenerContainer}.
257257
* This is called from the internal
258258
* {@link org.springframework.kafka.listener.adapter.MessagingMessageListenerAdapter} implementation.

0 commit comments

Comments
 (0)