From 86b21187705ba675de910ed3bed054cdd567c8c5 Mon Sep 17 00:00:00 2001 From: FelixKrespach Date: Mon, 25 Sep 2017 08:24:08 +0200 Subject: [PATCH] Refactoring --- src/de/dhbwstuttgart/syntaxtree/statement/AssertStmt.java | 2 +- src/de/dhbwstuttgart/syntaxtree/statement/SwitchStmt.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/AssertStmt.java b/src/de/dhbwstuttgart/syntaxtree/statement/AssertStmt.java index 36a0e6aa..c339c256 100644 --- a/src/de/dhbwstuttgart/syntaxtree/statement/AssertStmt.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/AssertStmt.java @@ -11,7 +11,7 @@ import java.util.List; */ public class AssertStmt extends Statement { - final List expr; + public final List expr; public AssertStmt(RefTypeOrTPHOrWildcardOrGeneric type, List expr, Token offset){ super(type, offset); this.expr=expr; diff --git a/src/de/dhbwstuttgart/syntaxtree/statement/SwitchStmt.java b/src/de/dhbwstuttgart/syntaxtree/statement/SwitchStmt.java index 34152cee..39af652d 100644 --- a/src/de/dhbwstuttgart/syntaxtree/statement/SwitchStmt.java +++ b/src/de/dhbwstuttgart/syntaxtree/statement/SwitchStmt.java @@ -9,8 +9,8 @@ import org.antlr.v4.runtime.Token; */ public class SwitchStmt extends Statement { - final Expression expr; - final Block switchBlock; + public final Expression expr; + public final Block switchBlock; public SwitchStmt(RefTypeOrTPHOrWildcardOrGeneric type,Expression expr, Block block, Token offset){ super(type,offset); this.expr=expr;