X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java index 74a6c11..0f81089 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/PHPDocument.java @@ -16,7 +16,7 @@ import org.eclipse.jface.text.Position; * It will contains html and php * @author Matthieu Casanova */ -public class PHPDocument implements OutlineableWithChildren { +public final class PHPDocument implements OutlineableWithChildren { /** * The nodes. @@ -24,15 +24,15 @@ public class PHPDocument implements OutlineableWithChildren { */ public AstNode[] nodes; - public char[] name; + private final char[] name; /** The parent of the object. */ - public Object parent; + private final Object parent; /** The outlineable children (those will be in the node array too. */ - private ArrayList children = new ArrayList(); + private final ArrayList children = new ArrayList(); - private Position position; + private final Position position; /** * Create the PHPDocument. * @param parent the parent object (it should be null isn't it ?)