[Bprocessor-commit] gui/src/net/sourceforge/bprocessor/gui GUI.java, 1.37, 1.38
Status: Pre-Alpha
Brought to you by:
henryml
From: Nordholt <nor...@us...> - 2006-08-08 15:13:00
|
Update of /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv15788/src/net/sourceforge/bprocessor/gui Modified Files: GUI.java Log Message: exception handling in spacechecker Index: GUI.java =================================================================== RCS file: /cvsroot/bprocessor/gui/src/net/sourceforge/bprocessor/gui/GUI.java,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** GUI.java 4 Aug 2006 11:48:07 -0000 1.37 --- GUI.java 8 Aug 2006 15:12:57 -0000 1.38 *************** *** 454,470 **** public void run() { while (true) { - Iterator it = Project.getInstance().getSpaces().iterator(); - while (it.hasNext()) { - Space sp = (Space)it.next(); - if (sp.isClosed()) { - closedSpaces.add(sp); - } else { - closedSpaces.remove(sp); - } - } try { sleep(1000); } catch (Exception e) { ! log.info("Space checker thread threw a: " + e); } } --- 454,471 ---- public void run() { while (true) { try { + + Iterator it = Project.getInstance().getSpaces().iterator(); + while (it.hasNext()) { + Space sp = (Space)it.next(); + if (sp.isClosed()) { + closedSpaces.add(sp); + } else { + closedSpaces.remove(sp); + } + } sleep(1000); } catch (Exception e) { ! e.printStackTrace(); } } |