X-Git-Url: http://secure.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/HTMLBlock.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/HTMLBlock.java index 496ca72..d276a00 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/HTMLBlock.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/HTMLBlock.java @@ -1,14 +1,13 @@ package net.sourceforge.phpdt.internal.compiler.ast; import java.util.List; -import java.util.ArrayList; /** * @author Matthieu Casanova */ -public class HTMLBlock extends Statement { +public final class HTMLBlock extends Statement { - public AstNode[] nodes; + private final AstNode[] nodes; public HTMLBlock(final AstNode[] nodes) { super(nodes[0].sourceStart, nodes[(nodes.length > 0) ? nodes.length - 1 : 0].sourceEnd); @@ -32,25 +31,22 @@ public class HTMLBlock extends Statement { /** * 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) {} }