Skip to content

Commit a5ce701

Browse files
authored
Merge branch 'spring-projects:main' into spring-projectsGH-2435
2 parents be0931f + a9cebb0 commit a5ce701

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

spring-kafka/src/main/java/org/springframework/kafka/core/KafkaAdmin.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,8 +257,7 @@ private Collection<NewTopic> newTopics() {
257257
newTopicsMap.remove(entry.getKey());
258258
}
259259
}
260-
Collection<NewTopic> newTopics = new ArrayList<>(newTopicsMap.values());
261-
return newTopics;
260+
return new ArrayList<>(newTopicsMap.values());
262261
}
263262

264263
@Override

0 commit comments

Comments
 (0)