if(user != null){ UserView userview = new UserView(user); return userview; } else return null;
UserView userview = null; if (user != null) { userview = new UserView(user); } cat.debug("<findUser(" + username + "): " + userview); return userview;
    public UserView findUser(String username) throws RemoteException, NamingException, FinderException, CreateException, AuthorizationDeniedException{       UserAdminData user = adminsession.findUser(administrator, username);       if(user != null){         UserView userview = new UserView(user);                  return userview;       }         else         return null;      } 