Skip to content

Commit 691b1e2

Browse files
swiedenfeldgaryrussell
authored andcommitted
Fix typo
1 parent ad6e2a1 commit 691b1e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka-docs/src/main/asciidoc/kafka.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3896,7 +3896,7 @@ You can use arbitrary headers or inspect the data to determine the type.
38963896
----
38973897
JavaType thing1Type = TypeFactory.defaultInstance().constructType(Thing1.class);
38983898
3899-
JavaType thing1Type = TypeFactory.defaultInstance().constructType(Thing2.class);
3899+
JavaType thing2Type = TypeFactory.defaultInstance().constructType(Thing2.class);
39003900
39013901
public static JavaType thingOneOrThingTwo(byte[] data, Headers headers) {
39023902
// {"thisIsAFieldInThing1":"value", ...

0 commit comments

Comments
 (0)