[DS-806] Item.match() incorrect logic for schema testing

git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@6053 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
Stuart Lewis
2011-01-27 00:54:53 +00:00
parent c33c01c4de
commit b73d348a69
3 changed files with 7 additions and 4 deletions

View File

@@ -908,7 +908,8 @@ public class Item extends DSpaceObject
return false;
}
}
else if (!schema.equals(Item.ANY))
if (!schema.equals(Item.ANY))
{
if (dcv.schema != null && !dcv.schema.equals(schema))
{