formatting
This commit is contained in:
@@ -73,8 +73,7 @@ public class EurekaInstanceCanceledEvent extends ApplicationEvent {
|
||||
return false;
|
||||
}
|
||||
EurekaInstanceCanceledEvent that = (EurekaInstanceCanceledEvent) o;
|
||||
return this.replication == that.replication
|
||||
&& Objects.equals(this.appName, that.appName)
|
||||
return this.replication == that.replication && Objects.equals(this.appName, that.appName)
|
||||
&& Objects.equals(this.serverId, that.serverId);
|
||||
}
|
||||
|
||||
|
||||
@@ -76,8 +76,7 @@ public class EurekaInstanceRegisteredEvent extends ApplicationEvent {
|
||||
return false;
|
||||
}
|
||||
EurekaInstanceRegisteredEvent that = (EurekaInstanceRegisteredEvent) o;
|
||||
return this.leaseDuration == that.leaseDuration
|
||||
&& this.replication == that.replication
|
||||
return this.leaseDuration == that.leaseDuration && this.replication == that.replication
|
||||
&& Objects.equals(this.instanceInfo, that.instanceInfo);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user