diff --git a/src/main/java/org/gcube/common/workspacetaskexecutor/util/WsUtil.java b/src/main/java/org/gcube/common/workspacetaskexecutor/util/WsUtil.java index 9b06434..d1e2268 100644 --- a/src/main/java/org/gcube/common/workspacetaskexecutor/util/WsUtil.java +++ b/src/main/java/org/gcube/common/workspacetaskexecutor/util/WsUtil.java @@ -62,13 +62,6 @@ public class WsUtil { */ public Workspace getWorkspace() throws Exception{ - /*if(theWorkspace==null) { - checkInitParameters(); - String scope = ScopeProvider.instance.get(); - String token = SecurityTokenProvider.instance.get(); - theWorkspace = getWorkspaceFromStorageHub(scope, token); - } - return theWorkspace;*/ String scope = ScopeProvider.instance.get(); String token = SecurityTokenProvider.instance.get(); if(token!=null)