File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ public class Game {
2121 private String rules ;
2222 private Date startTime ;
2323 private Date endTime ;
24- private ArrayList <String > states ;
25- private ArrayList <String > moves ;
24+ private List <String > states ;
25+ private List <String > moves ;
2626
2727 public Game () {
2828 }
@@ -95,10 +95,10 @@ public void setEndTime(Date endTime) {
9595 }
9696
9797 @ DynamoDBAttribute (attributeName ="states" )
98- public ArrayList <String > getStates () {
98+ public List <String > getStates () {
9999 return states ;
100100 }
101- public void setStates (ArrayList <String > states ) {
101+ public void setStates (List <String > states ) {
102102 this .states = states ;
103103 }
104104 public void setState (String state ) {
@@ -109,10 +109,10 @@ public void setState(String state) {
109109 }
110110
111111 @ DynamoDBAttribute (attributeName ="moves" )
112- public ArrayList <String > getMoves () {
112+ public List <String > getMoves () {
113113 return moves ;
114114 }
115- public void setMoves (ArrayList <String > moves ) {
115+ public void setMoves (List <String > moves ) {
116116 this .moves = moves ;
117117 }
118118 public void setMove (String move ) {
You can’t perform that action at this time.
0 commit comments