aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorDenis Lila <[email protected]>2011-03-31 17:20:17 -0400
committerDenis Lila <[email protected]>2011-03-31 17:20:17 -0400
commitd65bc4b61dd9c58d06d14986f48ea525ca5c6231 (patch)
treeb8b3613d95f0e93d32f022e7105c10a88dfa789c /plugin
parent4f975da3a88b9ed4661519216396ab8eb7872d75 (diff)
Fix JSObject.equals.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/java/netscape/javascript/JSObject.java16
1 files changed, 1 insertions, 15 deletions
diff --git a/plugin/icedteanp/java/netscape/javascript/JSObject.java b/plugin/icedteanp/java/netscape/javascript/JSObject.java
index a5bf41f..d93fa9c 100644
--- a/plugin/icedteanp/java/netscape/javascript/JSObject.java
+++ b/plugin/icedteanp/java/netscape/javascript/JSObject.java
@@ -37,7 +37,7 @@
*
* ***** END LICENSE BLOCK ***** */
-/* more doc todo:
+/* more doc TODO:
* threads
* gc
*
@@ -47,10 +47,8 @@
package netscape.javascript;
import java.applet.Applet;
-import java.security.AccessControlContext;
import java.security.AccessControlException;
import java.security.AccessController;
-import java.security.BasicPermission;
import sun.applet.PluginAppletViewer;
import sun.applet.PluginDebug;
@@ -193,8 +191,6 @@ public final class JSObject {
PluginAppletViewer.setSlot(internal, index, value);
}
- // TODO: toString, finalize.
-
/**
* Removes a named member of a JavaScript object.
*/
@@ -267,14 +263,4 @@ public final class JSObject {
PluginDebug.debug("JSObject.finalize ");
PluginAppletViewer.JavaScriptFinalize(internal);
}
-
- /**
- * Override java.lang.Object.equals() because identity is not preserved
- * with instances of JSObject.
- */
- public boolean equals(Object obj) {
- PluginDebug.debug("JSObject.equals " + obj);
-
- return false;
- }
}