From 71fae17bf4e7bc28e7fdcd8f355a02ce15bbbac2 Mon Sep 17 00:00:00 2001 From: hns Date: Mon, 15 Sep 2003 14:42:23 +0000 Subject: [PATCH] Do not try to resort to child object when getting a property (experimental) --- src/helma/scripting/rhino/HopObject.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/helma/scripting/rhino/HopObject.java b/src/helma/scripting/rhino/HopObject.java index eca39e07..6cb13913 100644 --- a/src/helma/scripting/rhino/HopObject.java +++ b/src/helma/scripting/rhino/HopObject.java @@ -658,11 +658,11 @@ public class HopObject extends ScriptableObject implements Wrapper { } // as last resort, try to get property as anonymous subnode - Object anon = node.getChildElement(name); + // Object anon = node.getChildElement(name); - if (anon != null) { - return anon; - } + // if (anon != null) { + // return anon; + // } } return NOT_FOUND;