Some minor changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / PHPEchoBlock.java
index 6f8fae9..abef9c5 100644 (file)
@@ -7,10 +7,10 @@ import java.util.List;
  * <?= 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.
@@ -45,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);