From 4b2f19556816254c8e5445a0bce3f474112552ba Mon Sep 17 00:00:00 2001 From: hns Date: Thu, 18 Dec 2008 11:55:39 +0000 Subject: [PATCH] Minor cosmetic fix. --- src/helma/framework/core/Application.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index dd59e380..ce2b078f 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -1346,10 +1346,7 @@ public final class Application implements Runnable { return ((IPathElement) obj).getChildElement(name); } - Object[] arg = new Object[1]; - - arg[0] = name; - + Object[] arg = new Object[] { name }; return invokeFunction(obj, "getChildElement", arg); }