Skip to content

Commit 42b616d

Browse files
revert back erroneous typo correction
1 parent 84de5b7 commit 42b616d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

spring-kafka-test/src/main/java/org/springframework/kafka/test/utils/ContainerTestUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ private static Method getAssignedPartitionsMethod(Class<?> clazz) {
122122
method -> theMethod.set(method),
123123
method -> method.getName().equals("getAssignedPartitions") && method.getParameterTypes().length == 0);
124124
if (theMethod.get() == null) {
125-
throw new IllegalStateException(clazz + " has no getAssignedParitions() method");
125+
throw new IllegalStateException(clazz + " has no getAssignedPartitions() method");
126126
}
127127
return theMethod.get();
128128
}

spring-kafka/src/main/java/org/springframework/kafka/aot/KafkaRuntimeHints.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ public void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader)
144144
RangeAssignor.class,
145145
RoundRobinAssignor.class,
146146
StickyAssignor.class,
147-
// standard partitions
147+
// standard partitioners
148148
org.apache.kafka.clients.producer.internals.DefaultPartitioner.class,
149149
RoundRobinPartitioner.class,
150150
org.apache.kafka.clients.producer.UniformStickyPartitioner.class,

0 commit comments

Comments
 (0)