diff --git a/core/src/main/java/lucee/runtime/type/scope/ArgumentImpl.java b/core/src/main/java/lucee/runtime/type/scope/ArgumentImpl.java index 9bfea95e40..13d8ae6a78 100755 --- a/core/src/main/java/lucee/runtime/type/scope/ArgumentImpl.java +++ b/core/src/main/java/lucee/runtime/type/scope/ArgumentImpl.java @@ -109,14 +109,6 @@ public boolean containsFunctionArgumentKey(Key key) { @Override public Object get(Collection.Key key, Object defaultValue) { - /* - * if(NullSupportHelper.full()) { Object o=super.get(key,NullSupportHelper.NULL()); - * if(o!=NullSupportHelper.NULL())return o; - * - * o=get(Caster.toIntValue(key.getString(),-1),NullSupportHelper.NULL()); - * if(o!=NullSupportHelper.NULL())return o; return defaultValue; } - */ - Object o = super.g(key, Null.NULL); if (o != Null.NULL) return o; @@ -127,7 +119,6 @@ public Object get(Collection.Key key, Object defaultValue) { if (o != Null.NULL) return o; } } - return defaultValue; } @@ -172,7 +163,7 @@ public Object get(int intKey, Object defaultValue) { */ @Override public Object getE(int intKey) throws PageException { - Iterator it = valueIterator();// getMap().keySet().iterator(); + Iterator it = valueIterator();// getMap().keySet().iterator(); int count = 0; Object o; while (it.hasNext()) {