removed unused imports

updated wsutil

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@92887 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Francesco Mangiacrapa 2014-03-10 16:35:10 +00:00
parent 649fbf79d4
commit 053a0fe127
1 changed files with 2 additions and 4 deletions

View File

@ -3,8 +3,6 @@
*/
package org.gcube.portlets.user.workspace.server.util;
import java.io.FileInputStream;
import javax.servlet.http.HttpSession;
import org.apache.commons.lang.StringUtils;
@ -115,7 +113,7 @@ public class WsUtil {
// }else if(user.compareToIgnoreCase("francesco.mangiacrapa")==0){
//
// withoutPortal = true;
// END UNCOMMENT
//// END UNCOMMENT
}else{
withoutPortal = false;
@ -201,7 +199,7 @@ public class WsUtil {
GWTWorkspaceBuilder builder = new GWTWorkspaceBuilder();
//ADDED 03/09/2013
builder.setUserLogged(new InfoContactModel(session.getUsername(), session.getUsername(), session.getUserFullName()));
builder.setUserLogged(new InfoContactModel(session.getUsername(), session.getUsername(), session.getUserFullName(), false));
session.setAttribute(WORKSPACEBUILDER_ATTRIBUTE, builder);
}