docs: private void cleanChildRefsInParent(ChannelData channelDataArray[], boolean childrenNew[]) {
          ChildChannelDataImpl child = null;
          // Clean up the already child refs in the parent.
          for (int i = 0; i < channelDataArray.length; i++) {
              if (childrenNew[i] == true) {
                  child = (ChildChannelDataImpl) channelDataArray[i];
                  child.getParent().removeChild(child);
              }
          }
      }