Removing code which was added for mistake

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@146911 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2017-04-18 07:47:05 +00:00
parent 727d39b388
commit b360dbd9ae
1 changed files with 1 additions and 7 deletions

View File

@ -329,13 +329,7 @@ public class ERManager {
Resource.NAME, uuid, ContextUtility.getCurrentContext()); Resource.NAME, uuid, ContextUtility.getCurrentContext());
ResourceManagement resourceManagement = new ResourceManagement(); ResourceManagement resourceManagement = new ResourceManagement();
resourceManagement.setUUID(UUID.fromString(uuid)); resourceManagement.setUUID(UUID.fromString(uuid));
boolean added = resourceManagement.addToContext(); return resourceManagement.addToContext();
resourceManagement = new ResourceManagement();
resourceManagement.setUUID(UUID.fromString(uuid));
resourceManagement.read();
return added;
} }
/** /**