From e68d36aafd8a10fa52ad263045c960747e754b5e Mon Sep 17 00:00:00 2001 From: "Benjamin J. Culkin" Date: Sat, 2 Jun 2018 17:39:54 -0300 Subject: Comment changes Perform various comment tweaks and changes --- base/src/main/java/bjc/utils/data/Tree.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'base/src/main/java/bjc/utils/data/Tree.java') diff --git a/base/src/main/java/bjc/utils/data/Tree.java b/base/src/main/java/bjc/utils/data/Tree.java index 77dc390..40ed0f5 100644 --- a/base/src/main/java/bjc/utils/data/Tree.java +++ b/base/src/main/java/bjc/utils/data/Tree.java @@ -29,6 +29,8 @@ public class Tree implements ITree { /* * @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. */ private boolean hasChildren; /* The number of children this node has. */ -- cgit v1.2.3