Skip to content

Commit

Permalink
Fix formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
khatchad committed Feb 21, 2024
1 parent b30a5ef commit 80c539c
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,13 +194,14 @@ public void cloneEverythingConcurrent() throws IOException {
for (int i = 0; i < numThreads; i++) {
final int id = i;
threads[i] = Thread.ofVirtual().name("SpecFilterTest").start(() -> {
try {
try {
filteredMap.put("filtered " + id, new SpecFilter().filter(openAPI, new NoOpOperationsFilter(), null, null, null));
} catch (Exception e) {
e.printStackTrace();
}
});
}

Thread.ofVirtual().start(new FailureHandler(threads, filteredMap, openAPI));
}

Expand All @@ -211,7 +212,7 @@ class FailureHandler implements Runnable {

private FailureHandler(Thread[] threads, Map<String, OpenAPI> filteredMap, OpenAPI openAPI) {
this.threads = threads;
this.filteredMap = filteredMap;
this.filteredMap = filteredMap;
this.openAPI = openAPI;
}

Expand Down

0 comments on commit 80c539c

Please sign in to comment.