protected static void checkNameIdValid(int nameId,
                                         int parentId,
                                         int childId) throws CorruptedException {
    if (nameId == DataEnumerator.NULL_ID) {
      throw new CorruptedException("parentId: " + parentId + ", childId: " + childId + ", nameId: " + nameId + " is invalid");
    }
  }
protected static void checkNameIdValid(int nameId,
                                         int parentId,
                                         int childId)