@@ -170,11 +170,11 @@ void shouldCustomizeEndpointForRetryTopicWithTopic(EndpointHandlerMethod beanMet
170170 String topic1WithSuffix = topics [0 ] + suffix ;
171171 String topic2WithSuffix = topics [1 ] + suffix ;
172172 assertThat (holders ).hasSize (2 ).element (0 )
173- .matches (holder -> holder .getMainTopic ().equals (topics [0 ])
174- && holder .getCustomizedTopic ().equals (topic1WithSuffix ));
173+ .matches (holder -> holder .mainTopic ().equals (topics [0 ])
174+ && holder .customizedTopic ().equals (topic1WithSuffix ));
175175 assertThat (holders ).hasSize (2 ).element (1 )
176- .matches (holder -> holder .getMainTopic ().equals (topics [1 ])
177- && holder .getCustomizedTopic ().equals (topic2WithSuffix ));
176+ .matches (holder -> holder .mainTopic ().equals (topics [1 ])
177+ && holder .customizedTopic ().equals (topic2WithSuffix ));
178178
179179 String testStringSuffix = testString + suffix ;
180180 assertThat (endpoint .getTopics ()).contains (topic1WithSuffix , topic2WithSuffix );
@@ -191,11 +191,11 @@ void shouldCustomizeEndpointForRetryTopicWithTopic(EndpointHandlerMethod beanMet
191191 (List <EndpointCustomizer .TopicNamesHolder >) endpointCustomizer .customizeEndpointAndCollectTopics (endpointTPO );
192192
193193 assertThat (holdersTPO ).hasSize (2 ).element (0 )
194- .matches (holder -> holder .getMainTopic ().equals (topics [0 ])
195- && holder .getCustomizedTopic ().equals (topic1WithSuffix ));
194+ .matches (holder -> holder .mainTopic ().equals (topics [0 ])
195+ && holder .customizedTopic ().equals (topic1WithSuffix ));
196196 assertThat (holdersTPO ).hasSize (2 ).element (1 )
197- .matches (holder -> holder .getMainTopic ().equals (topics [1 ])
198- && holder .getCustomizedTopic ().equals (topic2WithSuffix ));
197+ .matches (holder -> holder .mainTopic ().equals (topics [1 ])
198+ && holder .customizedTopic ().equals (topic2WithSuffix ));
199199
200200 assertThat (endpointTPO .getTopics ()).isEmpty ();
201201 TopicPartitionOffset [] topicPartitionsToAssign = endpointTPO .getTopicPartitionsToAssign ();
@@ -226,8 +226,8 @@ private MethodKafkaListenerEndpoint<Object, Object> getEndpoint(boolean isMulti,
226226 }
227227
228228 private Predicate <EndpointCustomizer .TopicNamesHolder > assertMainTopic (int index ) {
229- return holder -> holder .getCustomizedTopic ().equals (topics [index ])
230- && holder .getMainTopic ().equals (topics [index ]);
229+ return holder -> holder .customizedTopic ().equals (topics [index ])
230+ && holder .mainTopic ().equals (topics [index ]);
231231 }
232232
233233 private boolean equalsTopicPartitionOffset (TopicPartitionOffset tpo1 , TopicPartitionOffset tpo2 ) {
0 commit comments