Skip to content

Commit c3a1bcc

Browse files
committed
Remove unused fields reported by SpotBugs.
1 parent f97d710 commit c3a1bcc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/java/com/thealgorithms/backtracking/WordSearch.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@
3535
* - Stack space for the recursive DFS function, where L is the maximum depth of recursion (length of the word).
3636
*/
3737
public class WordSearch {
38-
private final int[] dx = {0, 0, 1, -1, 2, -2};
39-
private final int[] dy = {1, -1, 0, 0};
40-
private boolean[][] visited;
38+
// private final int[] dx = {0, 0, 1, -1, 2, -2};
39+
// private final int[] dy = {1, -1, 0, 0};
40+
// private boolean[][] visited;
4141
private char[][] board;
4242
private String word;
4343

0 commit comments

Comments
 (0)