Skip to content

Commit 294c220

Browse files
committed
Fix Sonar Issue
1 parent 0fd1a38 commit 294c220

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private void modifyTopics(AdminClient adminClient, Map<String, NewPartitions> to
338338
*/
339339
public static class NewTopics {
340340

341-
final Collection<NewTopic> newTopics = new ArrayList<>();
341+
private final Collection<NewTopic> newTopics = new ArrayList<>();
342342

343343
/**
344344
* Construct an instance with the {@link NewTopic}s.

0 commit comments

Comments
 (0)