Some minor changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / FieldDeclaration.java
index b41df20..c36e9dd 100644 (file)
@@ -1,13 +1,13 @@
 package net.sourceforge.phpdt.internal.compiler.ast;
 
+import java.util.List;
+
 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
 import net.sourceforge.phpdt.internal.ui.PHPUiImages;
+
 import org.eclipse.jface.resource.ImageDescriptor;
 import org.eclipse.jface.text.Position;
 
-import java.util.List;
-import java.util.ArrayList;
-
 /**
  * A Field declaration.
  * This is a variable declaration for a php class
@@ -16,13 +16,13 @@ import java.util.ArrayList;
  * 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) {}
 }