CollectionOptions collectionOptions, Set<String> albumIds,
SecurityToken securityToken)
throws Exception {
List<Album> albums = new ArrayList<Album>();
for (String albumId : albumIds) {
<BUG>Album album = doGetAlbum(
userId, appId, fields, albumId, securityToken);
albums.add(album);</BUG>
}
return new RestfulCollection<Album>(

CollectionOptions collectionOptions, Set<String> albumIds,
SecurityToken securityToken)
throws Exception {
List<Album> albums = new ArrayList<Album>();
for (String albumId : albumIds) {
Folder folder = DLAppServiceUtil.getFolder(
GetterUtil.getLong(albumId));
Album album = getAlbum(folder, fields, securityToken);
albums.add(album);
}
return new RestfulCollection<Album>(
