Hopefully fixes NPE reported by J?rn Nettingsmeier.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@1026 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Jim Downing
2004-07-13 08:16:48 +00:00
parent bb372293e1
commit cc8d03d53a

View File

@@ -548,7 +548,7 @@
// FIXME: (Maybe) assumes there will only be one?
for (int i = 0; i < identifiers.length; i++)
{
if (identifiers[i].qualifier.equals("citation"))
if ("citation".equals(identifiers[i].qualifier))
{
DCValue[] newIDs = new DCValue[identifiers.length - 1];
for (int j = 0; j < i; j++)