X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/BranchStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/BranchStatement.java index 2c164c4..d64a352 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/BranchStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/BranchStatement.java @@ -1,7 +1,6 @@ package net.sourceforge.phpdt.internal.compiler.ast; import java.util.List; -import java.util.ArrayList; /** * Here is a branchstatement : break or continue @@ -18,34 +17,28 @@ public abstract class BranchStatement extends Statement { /** * Get the variables from outside (parameters, globals ...) - * @return the variables from outside */ - public List getOutsideVariable() { - if (expression == null) { - return new ArrayList(); + public void getOutsideVariable(final List list) { + if (expression != null) { + expression.getOutsideVariable(list); } - return expression.getOutsideVariable(); } /** * get the modified variables. - * @return the variables from we change value */ - public List getModifiedVariable() { - if (expression == null) { - return new ArrayList(); + public void getModifiedVariable(final List list) { + if (expression != null) { + expression.getModifiedVariable(list); } - return expression.getModifiedVariable(); } /** * Get the variables used. - * @return the variables used */ - public List getUsedVariable() { - if (expression == null) { - return new ArrayList(); + public void getUsedVariable(final List list) { + if (expression != null) { + expression.getUsedVariable(list); } - return expression.getUsedVariable(); } }