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:
Jim Downing
2004-08-25 08:34:44 +00:00
parent 87ae73eb3d
commit bb7ec1b48d

View File

@@ -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();