fixed bug on shorting link
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@77444 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
2ef13ff2d7
commit
18aeda5198
|
@ -283,14 +283,13 @@ public class WsUtil {
|
|||
if(shortener==null){
|
||||
shortener = new UrlShortener();
|
||||
session.setAttribute(URL_SHORTENER_SERVICE, shortener);
|
||||
return shortener;
|
||||
}
|
||||
|
||||
}catch (Exception e) {
|
||||
defaultLogger.error("an error occurred in instancing url shortener ",e);
|
||||
}
|
||||
|
||||
return null;
|
||||
return shortener;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue