git-svn-id: https://svn.d4science-ii.research-infrastructures.eu/gcube/branches/data-access/storagehub-webapp/1.0@175991 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ea6406e460
commit
5a45df9b16
|
@ -293,8 +293,6 @@ public class ItemsManager {
|
|||
|
||||
if (!(item instanceof AbstractFileItem)) throw new InvalidCallParameters("the choosen item is not a File");
|
||||
|
||||
if (!(item.isPublicItem())) throw new UserNotAuthorizedException("the item requested is not public");
|
||||
|
||||
if (versionName!=null)
|
||||
return downloadVersionInternal(ses, login, itemId, versionName, false);
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue