Skip to content

Commit

Permalink
Fix ConcurrentModificationException when removing more than 1 swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
IsuruMaduranga committed May 28, 2024
1 parent 98a8a8f commit 047c0c4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public synchronized void validateSwaggerTable() {
while (swaggerIterator.hasNext()) {
String name = swaggerIterator.next();
if (!apiTable.containsKey(name)) {
swaggerTable.remove(name);
swaggerIterator.remove();
}
}
}
Expand Down

0 comments on commit 047c0c4

Please sign in to comment.