code: public CmsClientSitemapEntry removeSubEntry(CmsUUID entryId) {
  
          CmsClientSitemapEntry removed = null;
          int position = -1;
          if (!m_subEntries.isEmpty()) {
              for (int i = 0; i < m_subEntries.size(); i++) {
                  if (m_subEntries.get(i).getId().equals(entryId)) {
                      position = i;
                  }
              }
              if (position != -1) {
                  removed = m_subEntries.remove(position);
                  updatePositions(position);
              }
  
          }
          return removed;
      }
docs: Removes the child at the given position.<p>
  
  @param entryId the id of the child to remove
  
  @return the removed child