From 79a8ea771270eecab2f959fcec7b7e89a449619d Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Fri, 1 Jan 2010 21:02:27 +0100 Subject: [PATCH] Fix a ConcurrentModificationException. --- src/de/todesbaum/jsite/gui/ProjectFilesPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java index 00a9cee..94a93b1 100644 --- a/src/de/todesbaum/jsite/gui/ProjectFilesPage.java +++ b/src/de/todesbaum/jsite/gui/ProjectFilesPage.java @@ -499,7 +499,7 @@ public class ProjectFilesPage extends TWizardPage implements ActionListener, Lis } }); Set entriesToRemove = new HashSet(); - Iterator filenames = project.getFileOptions().keySet().iterator(); + Iterator filenames = new HashSet(project.getFileOptions().keySet()).iterator(); while (filenames.hasNext()) { String filename = filenames.next(); if (!files.contains(filename)) { -- 2.7.4