if (overrideIpAddress == null && overridePort == null) {
return; // *** EARLY RETURN ***
}
final AttributedURI defaultAddress = defaultEPR.getAddress();
if (overrideIpAddress != null) {
defaultAddress.setHost(overrideIpAddress);
}
if (overridePort != null) {
defaultAddress.setPort(overridePort.intValue());
}
}