mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
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:
@@ -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++)
|
||||
|
Reference in New Issue
Block a user