public void setOccurrences ( final List < ErrorOccurrence > pOccurrences ) { occurrences . clear ( ) ; for ( final ErrorOccurrence error : pOccurrences ) { addOccurrence ( error ) ; } }
Sets the list of occurrences for this bug .