diff --git a/modules/swagger-core/src/test/java/io/swagger/v3/core/filter/SpecFilterTest.java b/modules/swagger-core/src/test/java/io/swagger/v3/core/filter/SpecFilterTest.java index fd9bbd673d..0dc9dd8e02 100644 --- a/modules/swagger-core/src/test/java/io/swagger/v3/core/filter/SpecFilterTest.java +++ b/modules/swagger-core/src/test/java/io/swagger/v3/core/filter/SpecFilterTest.java @@ -189,7 +189,6 @@ public void setUp() throws IOException { public void cloneEverythingConcurrent() throws IOException { Thread[] threads = new Thread[numThreads]; final Map filteredMap = new ConcurrentHashMap<>(); - for (int i = 0; i < numThreads; i++) { final int id = i; threads[i] = Thread.ofVirtual().name("SpecFilterTest").start(() -> {