User tmpUser = this.userAdministration.loginGuest(name); if (tmpUser == null) { System.out.println("login guest " + name + " failed"); this.sendCommand( new Util.Commands.LoginErrorCommand()); this.setUser(null); } else { System.out.println("Guest " + this.user.getName() + " logged in"); this.setUser(tmpUser); }
User tmpUser = this.userAdministration.loginGuest(name);  if (tmpUser == null) { Debug.println("ClientServant: login guest " + name + " failed"); this.sendCommand(new Util.Commands.LoginErrorCommand()); this.setUser(null); } else { Debug.println("ClientServant: Guest " + this.user.getName() + " logged in"); this.setUser(tmpUser);
    public void loginAsGuest(String name) {        User tmpUser = this.userAdministration.loginGuest(name);        if (tmpUser == null) {            System.out.println("login guest " + name + " failed");            this.sendCommand(                new Util.Commands.LoginErrorCommand());            this.setUser(null);        }        else {            System.out.println("Guest " + this.user.getName() + " logged in");            this.setUser(tmpUser);        }    }