From f0a1abdfe4dbeaa4c796d8c6ced85d43040ff615 Mon Sep 17 00:00:00 2001 From: Jon Bergland Date: Thu, 1 Feb 2024 21:57:24 +0100 Subject: [PATCH] Refactor: Change int to wrapper class --- .../main/java/board/master/model/communication/MoveRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/src/main/java/board/master/model/communication/MoveRequest.java b/backend/src/main/java/board/master/model/communication/MoveRequest.java index 676942d..3d4c2ff 100644 --- a/backend/src/main/java/board/master/model/communication/MoveRequest.java +++ b/backend/src/main/java/board/master/model/communication/MoveRequest.java @@ -10,7 +10,7 @@ public class MoveRequest { private final String gameId; private final Move move; - public MoveRequest(String gameId, int x, int y) { + public MoveRequest(String gameId, Integer x, Integer y) { this.gameId = gameId; this.move = new Move(x, y); }