Makes a bunch of instance variables final
This commit is contained in:
@@ -15,7 +15,7 @@ public class BoardAdapter implements JsonDeserializer<Board>, JsonSerializer<Boa
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static BoardAdapter i = new BoardAdapter();
|
||||
private static final BoardAdapter i = new BoardAdapter();
|
||||
|
||||
public static BoardAdapter get() {
|
||||
return i;
|
||||
|
@@ -20,7 +20,7 @@ public class BoardMapAdapter implements JsonDeserializer<Map<PS, TerritoryAccess
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static BoardMapAdapter i = new BoardMapAdapter();
|
||||
private static final BoardMapAdapter i = new BoardMapAdapter();
|
||||
|
||||
public static BoardMapAdapter get() {
|
||||
return i;
|
||||
|
@@ -34,7 +34,7 @@ public class TerritoryAccessAdapter implements JsonDeserializer<TerritoryAccess>
|
||||
// INSTANCE & CONSTRUCT
|
||||
// -------------------------------------------- //
|
||||
|
||||
private static TerritoryAccessAdapter i = new TerritoryAccessAdapter();
|
||||
private static final TerritoryAccessAdapter i = new TerritoryAccessAdapter();
|
||||
|
||||
public static TerritoryAccessAdapter get() {
|
||||
return i;
|
||||
|
Reference in New Issue
Block a user