diff options
author | Pacien TRAN-GIRARD | 2015-11-23 10:28:51 +0100 |
---|---|---|
committer | Pacien TRAN-GIRARD | 2015-11-23 10:28:51 +0100 |
commit | 6dd386878179854edc089ba8d12d56c5b88081c3 (patch) | |
tree | ced88b4261bf5dfc4fedde71fb0e05a528000161 /src | |
parent | 9811ea74bcc9793a1ba6659aab850259e5671763 (diff) | |
download | maze-solver-6dd386878179854edc089ba8d12d56c5b88081c3.tar.gz |
Make Marking enum constants final
Diffstat (limited to 'src')
-rw-r--r-- | src/ch/epfl/maze/util/Trail.java | 4 |
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. |