Revision: 1981
http://svn.sourceforge.net/vexi/?rev=1981&view=rev
Author: mkpg2
Date: 2007-07-12 02:45:38 -0700 (Thu, 12 Jul 2007)
Log Message:
-----------
Fix. Forgot return, so keys were not being removed when setting a property to
null.
Modified Paths:
--------------
core/branches/vexi2/org.ibex.js/src/org/ibex/js/JS.jpp
Modified: core/branches/vexi2/org.ibex.js/src/org/ibex/js/JS.jpp
===================================================================
--- core/branches/vexi2/org.ibex.js/src/org/ibex/js/JS.jpp 2007-07-11
16:19:26 UTC (rev 1980)
+++ core/branches/vexi2/org.ibex.js/src/org/ibex/js/JS.jpp 2007-07-12
09:45:38 UTC (rev 1981)
@@ -240,7 +240,7 @@
*/
public void put(JS key, JS val) throws JSExn {
- if(val==null) super.remove(key, 0);
+ if(val==null){ super.remove(key, 0); return;}
super.put(key, val, 0);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn