final HostAndPort hap = HostAndPort.parseString(sentinel); final HostAndPort hap = HostAndPort.parseString(sentinel); MasterListener masterListener = new MasterListener(masterName, hap.getHost(), hap.getPort());
final HostAndPort hap = HostAndPort.parseString(sentinel); final HostAndPort hap = HostAndPort.parseString(sentinel); MasterListener masterListener = new MasterListener(masterName, hap.getHost(), hap.getPort());