Skip to content

Commit 908145a

Browse files
committed
make class models, factories, controllers final
1 parent b2644a9 commit 908145a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/scorekeep/GameModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public class GameModel {
1818
.withRegion(Regions.fromName(System.getenv("AWS_REGION")))
1919
.build();
2020
private DynamoDBMapper mapper = new DynamoDBMapper(client);
21-
private SessionModel sessionModel = new SessionModel();
21+
private final SessionModel sessionModel = new SessionModel();
2222

2323
public void saveGame(Game game) throws SessionNotFoundException {
2424
// check session

0 commit comments

Comments
 (0)