even if it doesn't help fixing the NP_NULL_ON_SOME_PATH, at least it guarantees 'parameters[]' array is not null

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/digester/trunk@1142215 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/main/java/org/apache/commons/digester3/CallMethodRule.java b/src/main/java/org/apache/commons/digester3/CallMethodRule.java
index 66fec2c..c656bf2 100644
--- a/src/main/java/org/apache/commons/digester3/CallMethodRule.java
+++ b/src/main/java/org/apache/commons/digester3/CallMethodRule.java
@@ -394,7 +394,7 @@
         throws Exception
     {
         // Retrieve or construct the parameter values array
-        Object parameters[] = null;
+        Object[] parameters;
         if ( paramCount > 0 )
         {
             parameters = getDigester().popParams();
@@ -450,6 +450,7 @@
             // When paramCount is zero and paramTypes.length is zero it
             // means that we truly are calling a method with no parameters.
             // Nothing special needs to be done here.
+            parameters = new Object[0];
         }
 
         // Construct the parameter values array we will need