public void removeTopGroup(MediaSeriesGroup topGroup) {
if (topGroup != null) {
firePropertyChange(
new ObservableEvent(ObservableEvent.BasicAction.REMOVE, AbstractFileModel.this, null, topGroup));
Collection<MediaSeriesGroup> seriesList = getChildren(topGroup);
<BUG>for (Iterator<MediaSeriesGroup> it = seriesList.iterator(); it.hasNext();) {
MediaSeriesGroup s = it.next();
s.dispose();</BUG>
}
removeHierarchyNode(MediaSeriesGroupNode.rootNode, topGroup);

public void removeTopGroup(MediaSeriesGroup topGroup) {
if (topGroup != null) {
firePropertyChange(
new ObservableEvent(ObservableEvent.BasicAction.REMOVE, AbstractFileModel.this, null, topGroup));
Collection<MediaSeriesGroup> seriesList = getChildren(topGroup);
for (Iterator<MediaSeriesGroup> it = seriesList.iterator(); it.hasNext();) {
it.next().dispose();
}
removeHierarchyNode(MediaSeriesGroupNode.rootNode, topGroup);
