diff --git a/api/src/main/java/com/algoverse/api/pathfinding/PathFindingService.java b/api/src/main/java/com/algoverse/api/pathfinding/PathFindingService.java index e0b7132..f73afee 100644 --- a/api/src/main/java/com/algoverse/api/pathfinding/PathFindingService.java +++ b/api/src/main/java/com/algoverse/api/pathfinding/PathFindingService.java @@ -19,8 +19,8 @@ @Service public class PathFindingService { - private PathFindingStrategy pathFindingStrategy; private static final Random RAND = new Random(); + private PathFindingStrategy pathFindingStrategy; /** * This method sets the strategy for path finding. @@ -71,6 +71,7 @@ public ImmutableList randomNodeGenerator(Coordinates boardSize) { } // TODO: implement a random maze generator + @SuppressWarnings("unused") public BoardInformation randomMazeGenerator(Coordinates boardSize) { return null; } diff --git a/api/src/main/java/com/algoverse/api/sorting/SortingService.java b/api/src/main/java/com/algoverse/api/sorting/SortingService.java index d63b0ff..2d63d94 100644 --- a/api/src/main/java/com/algoverse/api/sorting/SortingService.java +++ b/api/src/main/java/com/algoverse/api/sorting/SortingService.java @@ -15,8 +15,8 @@ @Service public class SortingService { - private SortingStrategy sortingStrategy; private static final Random RAND = new Random(); + private SortingStrategy sortingStrategy; public void setSortingStrategy(SortingStrategy sortingStrategy) { this.sortingStrategy = sortingStrategy;