if(address.user == null) address.user = savedUser; if(address.password == null) address.password = savedPassword;  if(address.user == null || address.password == null) { LoginDialog dialog = new LoginDialog(view,address.host, address.user,address.password); if(!dialog.isOK()) return false;  address.user = dialog.getUser(); address.password = dialog.getPassword(); }  buffer.putProperty(USERNAME_PROPERTY,address.user); buffer.putProperty(PASSWORD_PROPERTY,address.password);  return true;
	boolean doLogin(View view, Buffer buffer, String path)	{		String savedUser = (String)buffer.getProperty(USERNAME_PROPERTY);		String savedPassword = (String)buffer.getProperty(PASSWORD_PROPERTY);		try		{			FtpAddress address = new FtpAddress(path);		}		catch(IllegalArgumentException ia)		{			return false;		}		if(address.user == null)			address.user = savedUser;		if(address.password == null)			address.password = savedPassword;		if(address.user == null || address.password == null)		{			LoginDialog dialog = new LoginDialog(view,address.host,				address.user,address.password);			if(!dialog.isOK())				return false;			address.user = dialog.getUser();			address.password = dialog.getPassword();		}		buffer.putProperty(USERNAME_PROPERTY,address.user);		buffer.putProperty(PASSWORD_PROPERTY,address.password);		return true;	}