Revision: 1703
http://svn.sourceforge.net/vexi/?rev=1703&view=rev
Author: mkpg2
Date: 2007-03-04 09:45:13 -0800 (Sun, 04 Mar 2007)
Log Message:
-----------
Fix. Clone.equals
Modified Paths:
--------------
core/trunk/org.ibex.js/src/org/ibex/js/JS.jpp
Modified: core/trunk/org.ibex.js/src/org/ibex/js/JS.jpp
===================================================================
--- core/trunk/org.ibex.js/src/org/ibex/js/JS.jpp 2007-02-28 15:46:26 UTC
(rev 1702)
+++ core/trunk/org.ibex.js/src/org/ibex/js/JS.jpp 2007-03-04 17:45:13 UTC
(rev 1703)
@@ -111,7 +111,7 @@
}
// Non-Trap methods forward to the clonee
public JS unclone() { return clonee.unclone(); }
- public boolean equals(Object o) { return clonee.equals(o); }
+ public boolean equals(Object o) { return (!(o instanceof JS))?false:
clonee.equals(((JS)o).unclone()); }
public Enumeration keys() throws JSExn { return clonee.keys(); }
public JS get(JS k) throws JSExn { return clonee.get(k); }
public void put(JS k, JS v) throws JSExn { clonee.put(k, v); }
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn