Skip to content

Commit 8f54748

Browse files
revert back erroneous typo correction
1 parent 84de5b7 commit 8f54748

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
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,

spring-kafka/src/main/java/org/springframework/kafka/listener/BatchAcknowledgingConsumerAwareMessageListener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
public interface BatchAcknowledgingConsumerAwareMessageListener<K, V> extends BatchMessageListener<K, V> {
4242

4343
/**
44-
* Invoked with data from kafka. Containers should never call this since it they
44+
* Invoked with data from kafka. Containers should never call this since they
4545
* will detect that we are a consumer aware acknowledging listener.
4646
* @param data the data to be processed.
4747
*/

0 commit comments

Comments
 (0)