Updated constructor to instance the UrlShortner

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@132160 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2016-09-30 09:42:52 +00:00
parent 703d4220e5
commit 43be5a4caa
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ public class WsUtil {
shortener = (UrlShortener) session.getAttribute(WsUtil.URL_SHORTENER_SERVICE);
if(shortener==null){
shortener = new UrlShortener(session.getScope().toString());
shortener = new UrlShortener();
session.setAttribute(URL_SHORTENER_SERVICE, shortener);
}