misc: chore: Remove redundant code

This commit is contained in:
KeatonTheBot 2025-03-11 01:40:13 -05:00
parent 340ec79e9f
commit 05a88ccc94
109 changed files with 271 additions and 412 deletions

View file

@ -14,8 +14,8 @@ namespace ARMeilleure.Translation
private const bool Black = true;
private const bool Red = false;
private IntervalTreeNode<TK, TV> _root = null;
private int _count = 0;
private IntervalTreeNode<TK, TV> _root;
private int _count;
public int Count => _count;
@ -709,9 +709,9 @@ namespace ARMeilleure.Translation
class IntervalTreeNode<TK, TV>
{
public bool Color = true;
public IntervalTreeNode<TK, TV> Left = null;
public IntervalTreeNode<TK, TV> Right = null;
public IntervalTreeNode<TK, TV> Parent = null;
public IntervalTreeNode<TK, TV> Left;
public IntervalTreeNode<TK, TV> Right;
public IntervalTreeNode<TK, TV> Parent;
/// <summary>
/// The start of the range.