Skip to content

Commit 211387b

Browse files
committed
chore: fix checkstyle warning
- inner assignments should be avoided
1 parent ac587d3 commit 211387b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/java/com/thealgorithms/datastructures/trees/SplayTree.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ private static class Node {
3333

3434
Node(int key) {
3535
this.key = key;
36-
left = right = null;
36+
left = null;
37+
right = null;
3738
}
3839
}
3940

0 commit comments

Comments
 (0)