Do not try to resort to child object when getting a property (experimental)

This commit is contained in:
hns 2003-09-15 14:42:23 +00:00
parent 512cea20ac
commit 71fae17bf4

View file

@ -658,11 +658,11 @@ public class HopObject extends ScriptableObject implements Wrapper {
} }
// as last resort, try to get property as anonymous subnode // as last resort, try to get property as anonymous subnode
Object anon = node.getChildElement(name); // Object anon = node.getChildElement(name);
if (anon != null) { // if (anon != null) {
return anon; // return anon;
} // }
} }
return NOT_FOUND; return NOT_FOUND;