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:
parent
ef5e8b2c90
commit
f50c3253a5
|
@ -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){
|
||||
|
|
Loading…
Reference in New Issue