code: public void setOccurrences(final List<ErrorOccurrence> pOccurrences) {
  
          occurrences.clear();
          for (final ErrorOccurrence error : pOccurrences) {
              addOccurrence(error);
          }
      }
docs: Sets the list of occurrences for this bug.
  
  @param pOccurrences
  a list with the bug occurrence informations
  @see #addOccurrence(String, Date)