summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2015-11-23 10:28:51 +0100
committerPacien TRAN-GIRARD2015-11-23 10:28:51 +0100
commit6dd386878179854edc089ba8d12d56c5b88081c3 (patch)
treeced88b4261bf5dfc4fedde71fb0e05a528000161
parent9811ea74bcc9793a1ba6659aab850259e5671763 (diff)
downloadmaze-solver-6dd386878179854edc089ba8d12d56c5b88081c3.tar.gz
Make Marking enum constants final
-rw-r--r--src/ch/epfl/maze/util/Trail.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ch/epfl/maze/util/Trail.java b/src/ch/epfl/maze/util/Trail.java
index 351db8f..ed806c5 100644
--- a/src/ch/epfl/maze/util/Trail.java
+++ b/src/ch/epfl/maze/util/Trail.java
@@ -15,8 +15,8 @@ public class Trail {
15 AVOID_MARKING, 15 AVOID_MARKING,
16 NO_GO_MARKING; 16 NO_GO_MARKING;
17 17
18 public static Marking DEFAULT = NO_MARKING; 18 public static final Marking DEFAULT = NO_MARKING;
19 public static Marking[] ALL = new Marking[]{NO_MARKING, AVOID_MARKING, NO_GO_MARKING}; 19 public static final Marking[] ALL = new Marking[]{NO_MARKING, AVOID_MARKING, NO_GO_MARKING};
20 20
21 /** 21 /**
22 * Returns the next Marking. 22 * Returns the next Marking.