[Fb-contrib-commit] SF.net SVN: fb-contrib: [841] trunk/fb-contrib/src/com/mebigfatguy/ fbcontrib/
Brought to you by:
dbrosius
From: <dbr...@us...> - 2007-02-06 05:16:30
|
Revision: 841 http://svn.sourceforge.net/fb-contrib/?rev=841&view=rev Author: dbrosius Date: 2007-02-05 21:16:30 -0800 (Mon, 05 Feb 2007) Log Message: ----------- when loading a collection from a field, keep track of what register the instance who's field is loaded is, to differentiate fields with same name, but different instances. Modified Paths: -------------- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeletingWhileIterating.java Modified: trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeletingWhileIterating.java =================================================================== --- trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeletingWhileIterating.java 2007-02-06 03:50:33 UTC (rev 840) +++ trunk/fb-contrib/src/com/mebigfatguy/fbcontrib/detect/DeletingWhileIterating.java 2007-02-06 05:16:30 UTC (rev 841) @@ -280,7 +280,9 @@ else { XField field = itm.getXField(); if (field != null) { - groupElement = field.getName(); + int regLoad = itm.getFieldLoadedFromRegister(); + if (regLoad >= 0) + groupElement = field.getName() + "[" + regLoad + "]"; } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |