Commit 279edf06 by Bartłomiej Słota

super class method wrappers removal and test update #1376

parent 151e021e
......@@ -89,7 +89,7 @@ public class InstanceRegistry extends PeerAwareInstanceRegistryImpl
final int instanceLeaseDuration = resolveInstanceLeaseDuration(info);
logRegistration(info, isReplication, instanceLeaseDuration);
publishEurekaInstanceRegisteredEvent(info, instanceLeaseDuration, isReplication);
superRegister(info, isReplication);
super.register(info, isReplication);
}
@Override
......@@ -128,18 +128,9 @@ public class InstanceRegistry extends PeerAwareInstanceRegistryImpl
protected boolean internalCancel(String appName, String id, boolean isReplication) {
logCancelation(appName, id, isReplication);
publishEurekaInstanceCanceledEvent(appName, id, isReplication);
return superInternalCancel(appName, id, isReplication);
}
protected boolean superInternalCancel(String appName, String id,
boolean isReplication) {
return super.internalCancel(appName, id, isReplication);
}
protected void superRegister(InstanceInfo info, boolean isReplication) {
super.register(info, isReplication);
}
private void logRegistration(InstanceInfo info, boolean isReplication,
int instanceLeaseDuration) {
if (log.isDebugEnabled()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment