Some minor changes
[phpeclipse.git] / net.sourceforge.phpeclipse / src / net / sourceforge / phpdt / internal / compiler / ast / declarations / VariableUsage.java
index 4a5eaf1..7d9b936 100644 (file)
@@ -5,13 +5,13 @@ package net.sourceforge.phpdt.internal.compiler.ast.declarations;
  * This describe a variable declaration in a php document and his starting offset
  * @author Matthieu Casanova
  */
-public class VariableUsage {
+public final class VariableUsage {
 
   /** the variable name. */
-  private String name;
+  private final String name;
 
   /** where the variable is declared. */
-  private int startOffset;
+  private final int startOffset;
 
   /**
    * create a VariableUsage.
@@ -24,7 +24,7 @@ public class VariableUsage {
   }
 
   public String toString() {
-    return name + " " + startOffset;
+    return name + ' ' + startOffset;
   }
 
   /**