Changed function invocation due to refactoring of called method

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@134619 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2016-11-23 16:54:17 +00:00
parent 149ab8de56
commit 9954274a9d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ public class ContextManagementImpl implements ContextManagement {
public Vertex getContext(OrientGraph orientGraph, UUID context)
throws ContextNotFoundException {
try {
return Utility.getEntityByUUID(orientGraph, Context.NAME, context);
return Utility.getElementByUUID(orientGraph, Context.NAME, context, Vertex.class);
} catch (ResourceRegistryException e) {
throw new ContextNotFoundException(e.getMessage());
}