X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java index 1585fc4..34f4d4d 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/EmptyStatement.java @@ -1,43 +1,39 @@ package net.sourceforge.phpdt.internal.compiler.ast; import java.util.List; -import java.util.ArrayList; /** * An empty statement. * @author Matthieu Casanova */ -public class EmptyStatement extends Statement { +public final class EmptyStatement extends Statement { public EmptyStatement(final int sourceStart, final int sourceEnd) { super(sourceStart, sourceEnd); } public String toString(final int tab) { - return tabString(tab) + ";"; //$NON-NLS-1$ + return tabString(tab) + ';'; //$NON-NLS-1$ } /** * Get the variables from outside (parameters, globals ...) - * @return an empty list + * + * @param list the list where we will put variables */ - public List getOutsideVariable() { - return new ArrayList(); - } + public void getOutsideVariable(final List list) {} /** * get the modified variables. - * @return an empty list + * + * @param list the list where we will put variables */ - public List getModifiedVariable() { - return new ArrayList(); - } + public void getModifiedVariable(final List list) {} /** * Get the variables used. - * @return an empty list + * + * @param list the list where we will put variables */ - public List getUsedVariable() { - return new ArrayList(); - } + public void getUsedVariable(final List list) {} }