We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86f6448 commit a9cebb0Copy full SHA for a9cebb0
spring-kafka/src/main/java/org/springframework/kafka/core/KafkaAdmin.java
@@ -257,8 +257,7 @@ private Collection<NewTopic> newTopics() {
257
newTopicsMap.remove(entry.getKey());
258
}
259
260
- Collection<NewTopic> newTopics = new ArrayList<>(newTopicsMap.values());
261
- return newTopics;
+ return new ArrayList<>(newTopicsMap.values());
262
263
264
@Override
0 commit comments