Do not try to resort to child object when getting a property (experimental)
This commit is contained in:
parent
512cea20ac
commit
71fae17bf4
1 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue