a bugfix on used variables report
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / FieldDeclaration.java
index 4981987..61d4c8b 100644 (file)
@@ -12,7 +12,7 @@ import java.util.ArrayList;
  * A Field declaration.
  * This is a variable declaration for a php class
  * In fact it's an array of VariableUsage, since a field could contains
- * several vars :
+ * several var :
  * var $toto,$tata;
  * @author Matthieu Casanova
  */
@@ -77,7 +77,7 @@ public class FieldDeclaration extends Statement implements Outlineable {
    * @return the variables from outside
    */
   public List getOutsideVariable() {
-    return new ArrayList();
+    return new ArrayList(1);
   }
 
   /**
@@ -85,7 +85,7 @@ public class FieldDeclaration extends Statement implements Outlineable {
    * @return the variables from we change value
    */
   public List getModifiedVariable() {
-    return new ArrayList();
+    return new ArrayList(1);
   }
 
   /**
@@ -93,6 +93,6 @@ public class FieldDeclaration extends Statement implements Outlineable {
    * @return the variables used
    */
   public List getUsedVariable() {
-    return new ArrayList();
+    return new ArrayList(1);
   }
 }