X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java index a30be75..ff4a838 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/ReturnStatement.java @@ -1,9 +1,6 @@ package net.sourceforge.phpdt.internal.compiler.ast; -import net.sourceforge.phpdt.internal.compiler.ast.declarations.VariableUsage; - import java.util.List; -import java.util.ArrayList; /** * A return statement. @@ -28,25 +25,25 @@ public class ReturnStatement extends Statement { /** * Get the variables from outside (parameters, globals ...) - * @return the variables from outside */ - public List getOutsideVariable() { - return new ArrayList(); + public void getOutsideVariable(final List list) { } /** * get the modified variables. - * @return the variables modified */ - public List getModifiedVariable() { - return expression.getModifiedVariable(); + public void getModifiedVariable(final List list) { + if (expression != null) { + expression.getModifiedVariable(list); + } } /** * Get the variables used. - * @return the variables used */ - public List getUsedVariable() { - return expression.getUsedVariable(); + public void getUsedVariable(final List list) { + if (expression != null) { + expression.getUsedVariable(list); + } } }