[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui GUI.java, 1.49, 1.50
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2006-11-12 23:00:39
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv7341/src/net/sourceforge/bprocessor/gui Modified Files: GUI.java Log Message: less annoying exception handling on concurrent modfication in the spacechecker. Index: GUI.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/GUI.java,v retrieving revision 1.49 retrieving revision 1.50 diff -C2 -d -r1.49 -r1.50 *** GUI.java 6 Nov 2006 16:19:00 -0000 1.49 --- GUI.java 12 Nov 2006 23:00:34 -0000 1.50 *************** *** 27,30 **** --- 27,31 ---- import net.sourceforge.bprocessor.model.Space; + import java.util.ConcurrentModificationException; import java.util.Iterator; import java.util.Set; *************** *** 488,491 **** --- 489,495 ---- } sleep(1000); + } catch (ConcurrentModificationException e) { + //Something is done to the spaces while they are being checked. + log.info("Concurrent modification in spacechecker"); } catch (Exception e) { e.printStackTrace(); |