Some minor changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / FieldDeclaration.java
index 2d3be57..c36e9dd 100644 (file)
@@ -16,13 +16,13 @@ import org.eclipse.jface.text.Position;
  * var $toto,$tata;
  * @author Matthieu Casanova
  */
-public class FieldDeclaration extends Statement implements Outlineable {
+public final class FieldDeclaration extends Statement implements Outlineable {
 
   /** The variables. */
-  public VariableDeclaration[] vars;
+  public final VariableDeclaration[] vars;
 
-  private Object parent;
-  private Position position;
+  private final Object parent;
+  private final Position position;
 
   /**
    * Create a new field.
@@ -75,19 +75,22 @@ public class FieldDeclaration extends Statement implements Outlineable {
 
   /**
    * 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) {
-  }
+  public void getUsedVariable(final List list) {}
 }