From c56a10f7c943dd9e9f04854395638babfaba6529 Mon Sep 17 00:00:00 2001 From: Ben Culkin Date: Wed, 11 Nov 2020 11:22:42 -0500 Subject: Tweak some things --- src/main/java/bjc/data/Tree.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/main/java/bjc/data') diff --git a/src/main/java/bjc/data/Tree.java b/src/main/java/bjc/data/Tree.java index 95f4d1e..83b33bd 100644 --- a/src/main/java/bjc/data/Tree.java +++ b/src/main/java/bjc/data/Tree.java @@ -28,8 +28,10 @@ public class Tree implements ITree { /* Whether this node has children. */ /* * @NOTE Why have both this boolean and childCount? Why not just do a childCount - * == 0 whenever you'd check hasChildren? - Because hasChildren is set once and - * not reset, and really what it indicates is that children has been allocated. + * == 0 whenever you'd check hasChildren? + * + * - Because hasChildren is set once and not reset, and really what it + * indicates is that children has been allocated. */ private boolean hasChildren; /* The number of children this node has. */ -- cgit v1.2.3