uncommented code to delete temp file

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/data-transfer/uri-resolver@176039 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2018-12-20 16:23:29 +00:00
parent ef5e8b2c90
commit f50c3253a5
1 changed files with 7 additions and 7 deletions

View File

@ -183,13 +183,13 @@ public class AnalyticsCreateResolver {
throw ExceptionManager.badRequestException(req, "Error on creating your 'dataminer-invocation' request with "+jsonRequest+". \nPlease contact the support", this.getClass(), helpURI);
}finally{
//No needed to reset the scope, it is provided by TokenSetter
// try{
// //DELETING THE TEMP FILE
// if(tempInvocationFile!=null && tempInvocationFile.exists())
// tempInvocationFile.delete();
// }catch(Exception e){
// //silent
// }
try{
//DELETING THE TEMP FILE
if(tempInvocationFile!=null && tempInvocationFile.exists())
tempInvocationFile.delete();
}catch(Exception e){
//silent
}
}
if(publicLinkToDMInvFile==null){