/**
* Configs created by this ConfigBuilder will have the given Redis port
* number.
*
* @param port the Redis port number
* @return this ConfigBuilder
*/
public ConfigBuilder withPort(final int port) {
if (port < 1 || port > 65535) {
throw new IllegalArgumentException("post must be a valid port in the range 1-65535: " + port);
}
this.port = port;
return this;
}
It shoud be "throw new IllegalArgumentException("port must be a valid port in the range 1-65535: " + port);"
It shoud be "throw new IllegalArgumentException("port must be a valid port in the range 1-65535: " + port);"