code: public void deletePrivacyList(String listName) {
          // Remove the list from the cache
          // CHECKSTYLE:OFF
          this.getItemLists().remove(listName);
          // CHECKSTYLE:ON
  
          // Check if deleted list was the default list
          if (this.getDefaultName() != null && listName.equals(this.getDefaultName())) {
          // CHECKSTYLE:OFF
              this.setDefaultName(null);
          // CHECKSTYLE:ON
          }
      }
docs: Deletes an existing privacy list. If the privacy list being deleted was the default list
  then the user will end up with no default list. Therefore, the user will have to set a new
  default list.
  
  @param listName the name of the list being deleted.