mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Null safe equals in filterItem to cure bug reported by Jason Simms 2004-08-20ish
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1038 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -188,7 +188,7 @@ public class MediaFilterManager
|
||||
for (int i = 0; i < myBundles.length; i++)
|
||||
{
|
||||
// could have multiple 'ORIGINAL' bundles (hmm, probably not)
|
||||
if (myBundles[i].getName().equals("ORIGINAL"))
|
||||
if ("ORIGINAL".equals(myBundles[i].getName()))
|
||||
{
|
||||
// now look at all of the bitstreams
|
||||
Bitstream[] myBitstreams = myBundles[i].getBitstreams();
|
||||
|
Reference in New Issue
Block a user