diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6867cbd..02db75a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,7 +4,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [v1.4.2-SNAPSHOT] - 2021-04-06
+## [v1.5.0] - 2021-04-06
Removed legacy auth dependency
diff --git a/pom.xml b/pom.xml
index f5e846d..338e966 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
workspace-widget-portlet
war
workspace-widget-portlet Portlet
- 1.4.2-SNAPSHOT
+ 1.5.0
Workspace Widget Portlet is a small Front-end component looking like G Drive which exposes the content of the user's workspace or VRE Folders in read only mode.
diff --git a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
index 531e0a0..10105ae 100644
--- a/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
+++ b/src/main/java/org/gcube/portlets/user/wswidget/StorageHubServiceUtil.java
@@ -37,7 +37,7 @@ public class StorageHubServiceUtil {
* @param itemName
* @param from
* @param offset
- * @return
+ * @return the list of items
*/
public static List getItemChildren(AuthorizedUser authUser, String itemId, String itemName, int from, int offset) {
WSItem toReturn = new WSItem(itemId, itemName, true);
@@ -68,7 +68,7 @@ public class StorageHubServiceUtil {
}
toReturn.setChildren(children);
Collections.sort(toReturn.getChildren(), new ItemComparator());
- _log.debug("*** Returning children size: "+toReturn.getChildren().size());
+ _log.debug("Returning children size: "+toReturn.getChildren().size());
return children;
}
/**
@@ -166,7 +166,7 @@ public class StorageHubServiceUtil {
UmaJWTProvider.instance.set(umaToken.getRaw());
} catch (InvalidTokenException | MissingTokenException | RefreshException | NotAuthorizedException
| UMAException e1) {
- // TODO Auto-generated catch block
+ _log.warn("could not get UMA Token for context="+currentContext);
e1.printStackTrace();
}
_log.debug("getVREFoldersId, context="+currentContext);
diff --git a/src/main/webapp/html/workspacewidget/view.jsp b/src/main/webapp/html/workspacewidget/view.jsp
index dd59b0e..582062a 100644
--- a/src/main/webapp/html/workspacewidget/view.jsp
+++ b/src/main/webapp/html/workspacewidget/view.jsp
@@ -7,7 +7,6 @@
pageContext.setAttribute("currentGroup", GroupLocalServiceUtil.getGroup(PortalUtil.getScopeGroupId(request)));
String currentUsername = PortalUtil.getUser(request).getScreenName();
pageContext.setAttribute("currentUsername", PortalUtil.getUser(request).getScreenName());
-;
%>