Remove debug message when removing function

This commit is contained in:
hns 2003-08-29 15:49:58 +00:00
parent 1857ff79c5
commit 262ba9d5e3

View file

@ -232,7 +232,7 @@ public final class RhinoCore {
if (oldFunctions.contains(prop) && prop instanceof NativeFunction) { if (oldFunctions.contains(prop) && prop instanceof NativeFunction) {
// if this is a function compiled from script, it's from the // if this is a function compiled from script, it's from the
// old generation and wasn't renewed -- delete it. // old generation and wasn't renewed -- delete it.
System.err.println("DELETING OLD FUNC: "+key); // System.err.println("DELETING OLD FUNC: "+key);
try { try {
((ScriptableObject) op).setAttributes(key, op, 0); ((ScriptableObject) op).setAttributes(key, op, 0);
op.delete(key); op.delete(key);