The methods to get variables do not instantiate ArrayList each time, only one is...
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / PHPEchoBlock.java
index 674f9d1..dab65cb 100644 (file)
@@ -48,25 +48,20 @@ public class PHPEchoBlock extends AstNode {
 
   /**
    * Get the variables from outside (parameters, globals ...)
-   * @return an empty list
    */
-  public List getOutsideVariable() {
-    return new ArrayList();
+  public void getOutsideVariable(final List list) {
   }
 
   /**
    * get the modified variables.
-   * @return an empty list
    */
-  public List getModifiedVariable() {
-    return new ArrayList();
+  public void getModifiedVariable(final List list) {
   }
 
   /**
    * Get the variables used.
-   * @return the used variables are the used variables from the expression
    */
-  public List getUsedVariable() {
-    return expr.getUsedVariable();
+  public void getUsedVariable(final List list) {
+    expr.getUsedVariable(list);
   }
 }