Skip to content

Commit 8ae5747

Browse files
author
Lê Nam Khánh
authored
chore: fix typos in src/main/java/com/thealgorithms/devutils/nodes/TreeNode.java (#7033)
Fix typos in src/main/java/com/thealgorithms/devutils/nodes/TreeNode.java
1 parent fab09e7 commit 8ae5747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/devutils/nodes/TreeNode.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public abstract class TreeNode<E> extends Node<E> {
1313

1414
/**
15-
* Refernce to the parent Node.
15+
* Reference to the parent Node.
1616
*/
1717
private TreeNode<E> parentNode;
1818
/**
@@ -21,7 +21,7 @@ public abstract class TreeNode<E> extends Node<E> {
2121
private int depth;
2222

2323
/**
24-
* Empty contructor.
24+
* Empty constructor.
2525
*/
2626
public TreeNode() {
2727
super();

0 commit comments

Comments
 (0)