Skip to content

Commit e2abba5

Browse files
Update kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling/HeaderUtils.java
Co-authored-by: Lucas Campos <[email protected]>
1 parent c351591 commit e2abba5

File tree

1 file changed

+1
-1
lines changed
  • kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling

1 file changed

+1
-1
lines changed

kafka/src/main/java/org/axonframework/extensions/kafka/eventhandling/HeaderUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ public static Long valueAsLong(Headers headers, String key) {
7979

8080
/**
8181
* Return a {@link Long} representation of the {@code value} stored under a given {@code key} inside the {@link
82-
* Headers}. In case of a missing entry {@code null} is returned.
82+
* Headers}. In case of a missing entry {@code defaultValue} is returned.
8383
*
8484
* @param headers the Kafka {@code headers} to pull the {@link Long} value from
8585
* @param key the key corresponding to the expected {@link Long} value

0 commit comments

Comments
 (0)