mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-16 06:23:10 +00:00
[DS-707] Generify List usage
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5602 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -516,9 +516,9 @@ public final class BitstreamInfoDAO extends DAOSupport
|
||||
* @param itemId
|
||||
* @return the list of bitstream ids for this item
|
||||
*/
|
||||
public List getItemBitstreams(int itemId)
|
||||
public List<Integer> getItemBitstreams(int itemId)
|
||||
{
|
||||
List ids = new ArrayList();
|
||||
List<Integer> ids = new ArrayList<Integer>();
|
||||
|
||||
Connection conn = null;
|
||||
PreparedStatement ps = null;
|
||||
@@ -559,9 +559,9 @@ public final class BitstreamInfoDAO extends DAOSupport
|
||||
* @param collectionId The id of the collection
|
||||
* @return the list of bitstream ids for this item
|
||||
*/
|
||||
public List getCollectionBitstreams(int collectionId)
|
||||
public List<Integer> getCollectionBitstreams(int collectionId)
|
||||
{
|
||||
List ids = new ArrayList();
|
||||
List<Integer> ids = new ArrayList<Integer>();
|
||||
|
||||
Connection conn = null;
|
||||
PreparedStatement ps = null;
|
||||
@@ -602,9 +602,9 @@ public final class BitstreamInfoDAO extends DAOSupport
|
||||
* @param communityId the community id
|
||||
* @return the list of bitstream ids for this item
|
||||
*/
|
||||
public List getCommunityBitstreams(int communityId)
|
||||
public List<Integer> getCommunityBitstreams(int communityId)
|
||||
{
|
||||
List ids = new ArrayList();
|
||||
List<Integer> ids = new ArrayList<Integer>();
|
||||
|
||||
Connection conn = null;
|
||||
PreparedStatement ps = null;
|
||||
|
Reference in New Issue
Block a user