Some minor changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / PHPEchoBlock.java
index dab65cb..abef9c5 100644 (file)
@@ -1,19 +1,16 @@
 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 php echo block.
  * <?= someexpression ?>
  * @author Matthieu Casanova
  */
-public class PHPEchoBlock extends AstNode {
+public final class PHPEchoBlock extends AstNode {
 
   /** the expression. */
-  public Expression expr;
+  private final Expression expr;
 
   /**
    * Create a new php echo block.
@@ -48,18 +45,22 @@ public class PHPEchoBlock extends AstNode {
 
   /**
    * Get the variables from outside (parameters, globals ...)
+   *
+   * @param list the list where we will put variables
    */
-  public void getOutsideVariable(final List list) {
-  }
+  public void getOutsideVariable(final List list) {}
 
   /**
    * get the modified variables.
+   *
+   * @param list the list where we will put variables
    */
-  public void getModifiedVariable(final List list) {
-  }
+  public void getModifiedVariable(final List list) {}
 
   /**
    * Get the variables used.
+   *
+   * @param list the list where we will put variables
    */
   public void getUsedVariable(final List list) {
     expr.getUsedVariable(list);