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 d6a394d..92dccf0 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 @@ -36,7 +36,8 @@ public class PHPDocument implements OutlineableWithChildren { * Create the PHPDocument. * @param parent the parent object (it should be null isn't it ?) */ - public PHPDocument(Object parent, char[] name) { + public PHPDocument(final Object parent, + final char[] name) { this.parent = parent; this.name = name; position = new Position(1,name.length); @@ -58,9 +59,9 @@ public class PHPDocument implements OutlineableWithChildren { } buff.append(node.toString(0)); if (node instanceof HTMLCode) { - buff.append("\n"); + buff.append("\n");//$NON-NLS-1$ } else { - buff.append(";\n"); + buff.append(";\n");//$NON-NLS-1$ } } } @@ -72,7 +73,7 @@ public class PHPDocument implements OutlineableWithChildren { * @param o the new outlineable * @return does the addition worked ? */ - public boolean add(Outlineable o) { + public boolean add(final Outlineable o) { return children.add(o); } @@ -81,7 +82,7 @@ public class PHPDocument implements OutlineableWithChildren { * @param index the index * @return an outlineable object */ - public Outlineable get(int index) { + public Outlineable get(final int index) { return (Outlineable) children.get(index); }