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:
parent
149ab8de56
commit
9954274a9d
|
@ -102,7 +102,7 @@ public class ContextManagementImpl implements ContextManagement {
|
||||||
public Vertex getContext(OrientGraph orientGraph, UUID context)
|
public Vertex getContext(OrientGraph orientGraph, UUID context)
|
||||||
throws ContextNotFoundException {
|
throws ContextNotFoundException {
|
||||||
try {
|
try {
|
||||||
return Utility.getEntityByUUID(orientGraph, Context.NAME, context);
|
return Utility.getElementByUUID(orientGraph, Context.NAME, context, Vertex.class);
|
||||||
} catch (ResourceRegistryException e) {
|
} catch (ResourceRegistryException e) {
|
||||||
throw new ContextNotFoundException(e.getMessage());
|
throw new ContextNotFoundException(e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue