From 7a76ba28d668a1dd4e9789fa4531b7bf1a6fddee Mon Sep 17 00:00:00 2001 From: E046899 Date: Tue, 17 Sep 2024 17:59:58 +0200 Subject: [PATCH] add namespace wildcard deletion --- .../com/michelin/ns4kafka/controller/NamespaceController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/michelin/ns4kafka/controller/NamespaceController.java b/src/main/java/com/michelin/ns4kafka/controller/NamespaceController.java index fe375754..6ecf61a0 100644 --- a/src/main/java/com/michelin/ns4kafka/controller/NamespaceController.java +++ b/src/main/java/com/michelin/ns4kafka/controller/NamespaceController.java @@ -184,7 +184,7 @@ public HttpResponse bulkDelete(@QueryValue(defaultValue = "*") String name .collect(Collectors.joining("/")), validationErrors.values().stream() .flatMap(Collection::stream) - .collect(Collectors.toList())); + .toList()); } if (dryrun) {