r9444 - helma/helma/trunk/src/helma/framework/core

[email protected]
Newsgroups gmane.comp.java.helma.cvs
Message-ID <[email protected]>
Author: hannes
Date: 2008-12-18 12:55:39 +0100 (Thu, 18 Dec 2008)
New Revision: 9444

Modified:
   helma/helma/trunk/src/helma/framework/core/Application.java
Log:
Minor cosmetic fix.

Details at http://dev.helma.org/trac/helma/changeset/9444

Modified: helma/helma/trunk/src/helma/framework/core/Application.java
===================================================================
--- helma/helma/trunk/src/helma/framework/core/Application.java	2008-12-18 11:32:58 UTC (rev 9443)
+++ helma/helma/trunk/src/helma/framework/core/Application.java	2008-12-18 11:55:39 UTC (rev 9444)
@@ -1346,10 +1346,7 @@
             return ((IPathElement) obj).getChildElement(name);
         }
 
-        Object[] arg = new Object[1];
-
-        arg[0] = name;
-
+        Object[] arg = new Object[] { name };
         return invokeFunction(obj, "getChildElement", arg);
     }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.