void update(String user, Password password) {
        if (user == null) {
            throw new IllegalArgumentException("user must not be null");
        }
        if (user.trim().isEmpty()) {
            throw new IllegalArgumentException("user must not be empty");
        }
        if (password == null) {
            throw new IllegalArgumentException("password must not be null");
        }
        if (password.isEmpty()) {
            throw new IllegalArgumentException("password must not be empty");
        }
        this.user = user;
        this.password = password;
    }
void update ( String user , Password password ) { if ( user == null ) { throw new IllegalArgumentException ( "user must not be null" ) ; } if ( user . trim ( ) . isEmpty ( ) ) { throw new IllegalArgumentException ( "user must not be empty" ) ; } if ( password == null ) { throw new IllegalArgumentException ( "password must not be null" ) ; } if ( password . isEmpty ( ) ) { throw new IllegalArgumentException ( "password must not be empty" ) ; } this . user = user ; this . password = password ; }
@param user
@param password