TimestampIntervalCollection activeIntervalCollection; try { activeIntervalCollection = bugInstance.getActiveIntervalCollection(); } catch (InvalidTimestampIntervalException e) { activeIntervalCollection = new TimestampIntervalCollection(); } activeIntervalCollection.add(new TimestampInterval(timestamp, timestamp)); bugInstance.setActiveIntervalCollection(activeIntervalCollection);
	public boolean add(BugInstance bugInstance) {		registerUniqueId(bugInstance);				return bugSet.add(bugInstance);	}