]> git.aero2k.de Git - tmp/jakarta-migration.git/commitdiff
CSPACE-2191: Declare instance of ContactsCommonList before using it as a generic...
authorAron Roberts <aron@socrates.berkeley.edu>
Tue, 22 Jun 2010 00:07:59 +0000 (00:07 +0000)
committerAron Roberts <aron@socrates.berkeley.edu>
Tue, 22 Jun 2010 00:07:59 +0000 (00:07 +0000)
services/organization/client/src/test/java/org/collectionspace/services/client/test/OrgAuthorityServiceTest.java

index f5d384b60b1d09db7a36a5ebca45268a46aabd2d..5f5c4d95aff1a9c9665140025ed61773adcdc76c 100644 (file)
@@ -1150,9 +1150,10 @@ public class OrgAuthorityServiceTest extends AbstractServiceTestImpl {
 
         // Submit the request to the service and store the response.
         OrgAuthorityClient client = new OrgAuthorityClient();
+        ContactsCommonList list = null;
         ClientResponse<ContactsCommonList> res =
                 client.readContactList(parentcsid, itemcsid);
-        ContactsCommonList list = res.getEntity();
+        list = res.getEntity();
         int statusCode = res.getStatus();
 
         // Check the status code of the response: does it match