}
/**
- *
* Returns the album with the given ID, creating a new album if no album
* with the given ID can be found.
*
album.setSone(sone);
if (parent != null) {
parent.addAlbum(album);
+ } else {
+ sone.addAlbum(album);
}
- sone.addAlbum(album);
return album;
}