Revision: 2461
http://vexi.svn.sourceforge.net/vexi/?rev=2461&view=rev
Author: mkpg2
Date: 2007-10-14 16:54:04 -0700 (Sun, 14 Oct 2007)
Log Message:
-----------
Fix. Bad logic in getAndTriggerTraps
Modified Paths:
--------------
trunk/core/org.ibex.js/src/org/ibex/js/JS.jpp
Modified: trunk/core/org.ibex.js/src/org/ibex/js/JS.jpp
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/JS.jpp 2007-10-14 23:50:26 UTC
(rev 2460)
+++ trunk/core/org.ibex.js/src/org/ibex/js/JS.jpp 2007-10-14 23:54:04 UTC
(rev 2461)
@@ -148,9 +148,8 @@
public JS getAndTriggerTraps(JS key) throws JSExn {
Trap t = (Trap)super.get(key, 1);
- if(t==null) return clonee.getAndTriggerTraps(key);
- return (t = t.read()) == null ? (JS)get(key) :
- Thread.runInCurrent(t);
+ if(t==null || (t = t.read()) == null) return
clonee.getAndTriggerTraps(key);
+ return Thread.runInCurrent(t);
}
public void addTrap(JS key, JS f) throws JSExn {
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: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn