Improved code
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry-context-client@177087 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
61bdc05384
commit
227db9d54e
|
@ -217,7 +217,9 @@ public class ResourceRegistryContextClientImpl implements ResourceRegistryContex
|
|||
gxHTTPStringRequest.path(uuid);
|
||||
|
||||
HttpURLConnection httpURLConnection = gxHTTPStringRequest.delete();
|
||||
boolean deleted = HTTPUtility.getResponse(Boolean.class, httpURLConnection);
|
||||
HTTPUtility.getResponse(String.class, httpURLConnection);
|
||||
|
||||
boolean deleted = true;
|
||||
|
||||
logger.info("{} with UUID {} {}", Context.NAME, uuid,
|
||||
deleted ? " successfully deleted" : "was NOT deleted");
|
||||
|
|
Loading…
Reference in New Issue