Skip to content

Commit 35f66ca

Browse files
committed
Making spacing more consistent in tree project.
1 parent a754b8c commit 35f66ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

source/code/projects/Tree/Tree/BTree.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private string TraversePo(Node nodeP)
250250

251251
public override string ToString()
252252
{
253-
string returned = "Height of the tree:" + Height() + " (computed alternatively: " + HeightAlt() + ")\n";
253+
string returned = "Height of the tree: " + Height() + " (computed alternatively: " + HeightAlt() + ")\n";
254254
if (root != null)
255255
{
256256
returned += Stringify(root, 0);
@@ -268,7 +268,7 @@ private string Stringify(Node nodeP, int padding)
268268
{
269269
returned += " ";
270270
}
271-
returned += nodeP + " Depth:" + padding + ", Height: " + nodeP.Height + "\n"; // Calls Node's ToString method.
271+
returned += nodeP + " Depth: " + padding + ", Height: " + nodeP.Height + "\n"; // Calls Node's ToString method.
272272
if (nodeP.left != null)
273273
{
274274
returned += "L" + Stringify(nodeP.left, padding + 1);

0 commit comments

Comments
 (0)