Details
-
Improvement
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Code Clarity
-
Low Hanging Fruit
-
All
-
None
-
Description
- add/removeChildren does not need to be public (and exposing addChildren is unsafe since no lock is used).
- casting in the constructor is safer than casting each time in removeChildren