public boolean test(String name,String password) throws UsersRepositoryException {
  final User user=getUserByName(name);
  final boolean result;
  result=user != null && user.verifyPassword(password);
  return result;
}

public boolean test ( String name , String password ) throws UsersRepositoryException { final User user = getUserByName ( name ) ; final boolean result ; result = user != null && user . verifyPassword ( password ) ; return result ; }
test if user with name ' name ' has password ' password ' .
