X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java index 92fcd24..ceb04d5 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ArrayDeclarator.java @@ -1,7 +1,6 @@ package net.sourceforge.phpdt.internal.compiler.ast; import java.util.List; -import java.util.ArrayList; /** * @author Matthieu Casanova @@ -35,7 +34,7 @@ public class ArrayDeclarator extends AbstractVariable { /** * Return the name of the variable. - * @return the name of the prefix variable + * @return the name of the functionName variable */ public String getName() { return prefix.getName(); @@ -43,33 +42,27 @@ public class ArrayDeclarator extends AbstractVariable { /** * Get the variables from outside (parameters, globals ...) - * @return the variables from outside */ - public List getOutsideVariable() { - return new ArrayList(1); + public void getOutsideVariable(final List list) { } /** * get the modified variables. - * @return the variables from we change value */ - public List getModifiedVariable() { - final List list = prefix.getModifiedVariable(); + public void getModifiedVariable(final List list) { + prefix.getModifiedVariable(list); if (var != null) { - list.addAll(var.getModifiedVariable()); + var.getModifiedVariable(list); } - return list; } /** * Get the variables used. - * @return the variables used */ - public List getUsedVariable() { - final List list = prefix.getUsedVariable(); + public void getUsedVariable(final List list) { + prefix.getUsedVariable(list); if (var != null) { - list.addAll(var.getUsedVariable()); + var.getUsedVariable(list); } - return list; } }