]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
NOJIRA CollectionObjectResource needs to cast to get RelationsCommonList
authorLaramie Crocker <laramie@berkeley.edu>
Thu, 7 Apr 2011 20:10:37 +0000 (20:10 +0000)
committerLaramie Crocker <laramie@berkeley.edu>
Thu, 7 Apr 2011 20:10:37 +0000 (20:10 +0000)
services/collectionobject/service/src/main/java/org/collectionspace/services/collectionobject/CollectionObjectResource.java

index d7791c7b64208abbdc6f861245c5ffae3816179c..1ea0235d9ffcf210478ebab9aa08d19e4c8afbe6 100644 (file)
@@ -412,7 +412,7 @@ public class CollectionObjectResource
                String predicate = RelationshipType.COLLECTIONOBJECT_INTAKE.value();
                String objectCsid = null;
                RelationResource relationResource = new RelationResource();
-               RelationsCommonList relationsCommonList = relationResource.getRelationList(queryParams,
+               RelationsCommonList relationsCommonList = (RelationsCommonList)relationResource.getRelationList(queryParams,
                                subjectCsid,
                                null, /*subjectType*/
                                predicate,