mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
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
This commit is contained in:
@@ -12,7 +12,7 @@ package com.thealgorithms.devutils.nodes;
|
||||
public abstract class TreeNode<E> extends Node<E> {
|
||||
|
||||
/**
|
||||
* Refernce to the parent Node.
|
||||
* Reference to the parent Node.
|
||||
*/
|
||||
private TreeNode<E> parentNode;
|
||||
/**
|
||||
@@ -21,7 +21,7 @@ public abstract class TreeNode<E> extends Node<E> {
|
||||
private int depth;
|
||||
|
||||
/**
|
||||
* Empty contructor.
|
||||
* Empty constructor.
|
||||
*/
|
||||
public TreeNode() {
|
||||
super();
|
||||
|
||||
Reference in New Issue
Block a user