private JedisPool jedisPoolFromServerAndPort(final String hostAndPort){
  Matcher matcher=SERVER_FORMAT.matcher(hostAndPort);
  if (!matcher.matches()) {
    throw new InvalidServerFormatException(hostAndPort);
  }
  return new JedisPool(matcher.group(1),Integer.valueOf(matcher.group(2)));
}

private JedisPool jedisPoolFromServerAndPort ( final String hostAndPort ) { Matcher matcher = SERVER_FORMAT . matcher ( hostAndPort ) ; if ( ! matcher . matches ( ) ) { throw new InvalidServerFormatException ( hostAndPort ) ; } return new JedisPool ( matcher . group ( 1 ) , Integer . valueOf ( matcher . group ( 2 ) ) ) ; }
given a string of the format " host : port " , create a new jedispool instance or throw a invalidserverformatexception if invalid .
