X-Git-Url: http://git.phpeclipse.com diff --git a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Case.java b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Case.java index 8a623d4..751f223 100644 --- a/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Case.java +++ b/net.sourceforge.phpeclipse/src/net/sourceforge/phpdt/internal/compiler/ast/Case.java @@ -6,9 +6,9 @@ import java.util.List; * A Case statement for a Switch. * @author Matthieu Casanova */ -public class Case extends AbstractCase { +public final class Case extends AbstractCase { - public Expression value; + private final Expression value; public Case(final Expression value, final Statement[] statements, @@ -39,6 +39,8 @@ public class Case extends AbstractCase { /** * get the modified variables. + * + * @param list the list where we will put variables */ public void getModifiedVariable(final List list) { super.getModifiedVariable(list); @@ -47,6 +49,8 @@ public class Case extends AbstractCase { /** * Get the variables used. + * + * @param list the list where we will put variables */ public void getUsedVariable(final List list) { super.getUsedVariable(list);