aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorDenis Lila <[email protected]>2011-04-05 14:38:22 -0400
committerDenis Lila <[email protected]>2011-04-05 14:38:22 -0400
commit7a7bd2ef05d809809f34ee2b11925966da922383 (patch)
tree2224406408746316867ca1039e5e9d2fb23452c6 /plugin
parentb5b1409c7ab8d77a1f73409d5b3d7a0eacb598af (diff)
Use varargs in PluginDebug.debug calls in JSObject.java.
Diffstat (limited to 'plugin')
-rw-r--r--plugin/icedteanp/java/netscape/javascript/JSObject.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugin/icedteanp/java/netscape/javascript/JSObject.java b/plugin/icedteanp/java/netscape/javascript/JSObject.java
index d93fa9c..a2f200f 100644
--- a/plugin/icedteanp/java/netscape/javascript/JSObject.java
+++ b/plugin/icedteanp/java/netscape/javascript/JSObject.java
@@ -150,10 +150,10 @@ public final class JSObject {
* Equivalent to "this.<i>name</i>" in JavaScript.
*/
public Object getMember(String name) {
- PluginDebug.debug("JSObject.getMember " + name);
+ PluginDebug.debug("JSObject.getMember ", name);
Object o = PluginAppletViewer.getMember(internal, name);
- PluginDebug.debug("JSObject.getMember GOT " + o);
+ PluginDebug.debug("JSObject.getMember GOT ", o);
return o;
}
@@ -163,7 +163,7 @@ public final class JSObject {
*/
// public Object getMember(int index) { return getSlot(index); }
public Object getSlot(int index) {
- PluginDebug.debug("JSObject.getSlot " + index);
+ PluginDebug.debug("JSObject.getSlot ", index);
return PluginAppletViewer.getSlot(internal, index);
}
@@ -173,7 +173,7 @@ public final class JSObject {
* Equivalent to "this.<i>name</i> = <i>value</i>" in JavaScript.
*/
public void setMember(String name, Object value) {
- PluginDebug.debug("JSObject.setMember " + name + " " + value);
+ PluginDebug.debug("JSObject.setMember ", name, " ", value);
PluginAppletViewer.setMember(internal, name, value);
}
@@ -186,7 +186,7 @@ public final class JSObject {
// setSlot(index, value);
// }
public void setSlot(int index, Object value) {
- PluginDebug.debug("JSObject.setSlot " + index + " " + value);
+ PluginDebug.debug("JSObject.setSlot ", index, " ", value);
PluginAppletViewer.setSlot(internal, index, value);
}
@@ -195,7 +195,7 @@ public final class JSObject {
* Removes a named member of a JavaScript object.
*/
public void removeMember(String name) {
- PluginDebug.debug("JSObject.removeMember " + name);
+ PluginDebug.debug("JSObject.removeMember ", name);
PluginAppletViewer.removeMember(internal, name);
}
@@ -208,9 +208,9 @@ public final class JSObject {
if (args == null)
args = new Object[0];
- PluginDebug.debug("JSObject.call " + methodName);
+ PluginDebug.debug("JSObject.call ", methodName);
for (int i = 0; i < args.length; i++)
- PluginDebug.debug(" " + args[i]);
+ PluginDebug.debug(" ", args[i]);
PluginDebug.debug("");
return PluginAppletViewer.call(internal, methodName, args);
}
@@ -221,7 +221,7 @@ public final class JSObject {
* given by "this".
*/
public Object eval(String s) {
- PluginDebug.debug("JSObject.eval " + s);
+ PluginDebug.debug("JSObject.eval ", s);
return PluginAppletViewer.eval(internal, s);
}
@@ -246,7 +246,7 @@ public final class JSObject {
long internal = 0;
internal = ((PluginAppletViewer)
applet.getAppletContext()).getWindow();
- PluginDebug.debug("GOT IT: " + internal);
+ PluginDebug.debug("GOT IT: ", internal);
return new JSObject(internal);
}