Skip to content

Commit aba4ee2

Browse files
committed
Fix KafkaHeaderMapper Javadocs
1 parent f83fc4b commit aba4ee2

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-kafka/src/main/java/org/springframework/kafka/support/KafkaHeaderMapper.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
public interface KafkaHeaderMapper {
3333

3434
/**
35-
* Map from the given {@link MessageHeaders} to the specified target message.
35+
* Map from the given {@link MessageHeaders} to the specified target headers.
3636
* @param headers the abstracted MessageHeaders.
37-
* @param target the native target message.
37+
* @param target the native target headers.
3838
*/
3939
void fromHeaders(MessageHeaders headers, Headers target);
4040

4141
/**
42-
* Map from the given target message to abstracted {@link MessageHeaders}.
43-
* @param source the native target message.
42+
* Map from the given target headers to abstracted {@link MessageHeaders}.
43+
* @param source the native target headers.
4444
* @param target the target headers.
4545
*/
4646
void toHeaders(Headers source, Map<String, Object> target);

0 commit comments

Comments
 (0)