Skip to content

Commit

Permalink
reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
juliusbrehme committed Oct 4, 2023
1 parent a0a24ce commit 67b9257
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -71,6 +71,7 @@ public ImmutableList<Coordinates> randomNodeGenerator(Coordinates boardSize) {
}

// TODO: implement a random maze generator
@SuppressWarnings("unused")
public BoardInformation randomMazeGenerator(Coordinates boardSize) {
return null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 67b9257

Please sign in to comment.