From: <mwl...@us...> - 2008-07-25 21:00:12
|
Revision: 790 http://cishell.svn.sourceforge.net/cishell/?rev=790&view=rev Author: mwlinnem Date: 2008-07-25 21:00:08 +0000 (Fri, 25 Jul 2008) Log Message: ----------- Fixed bug in assigning parents that can cause infinite loop. This bug has been around since Oct 2006! Modified Paths: -------------- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java =================================================================== --- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2008-07-25 20:39:33 UTC (rev 789) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmWrapper.java 2008-07-25 21:00:08 UTC (rev 790) @@ -389,7 +389,7 @@ Object parent = outData[i].getMetadata().get(DataProperty.PARENT); if (parent != null) { - for (int j=0; j < data.length; i++) { + for (int j=0; j < data.length; j++) { if (parent == data[j]) { outData[i].getMetadata().put(DataProperty.PARENT, originalData[j]); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |