formatting

This commit is contained in:
spencergibb
2020-11-02 13:00:43 -05:00
parent 839a780e54
commit 48a044cc71
2 changed files with 2 additions and 4 deletions

View File

@@ -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);
}

View File

@@ -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);
}