Skip to content

Commit

Permalink
Fixing some issues about iterator and concurrent write
Browse files Browse the repository at this point in the history
Signed-off-by: Rhuan Rocha <rhuan080@gmail.com>
  • Loading branch information
rhuan080 committed Jun 13, 2021
1 parent 8548bf6 commit 76ee69e
Showing 1 changed file with 1 addition and 3 deletions.
Expand Up @@ -208,10 +208,8 @@ public String toString()
{
convertViolations();
StringBuffer sb = new StringBuffer();
CopyOnWriteArrayList<List<ResteasyConstraintViolation>> imutableViolations =
new CopyOnWriteArrayList<>(violationLists);

for (List<ResteasyConstraintViolation> violations : imutableViolations) {
for (List<ResteasyConstraintViolation> violations : violationLists) {
for (ResteasyConstraintViolation violation: violations ) {
sb.append(violation.toString()).append('\r');
}
Expand Down

0 comments on commit 76ee69e

Please sign in to comment.