mirror of
https://github.com/spring-cloud/spring-cloud-netflix.git
synced 2026-09-17 15:49:00 +00:00
formatting
This commit is contained in:
+1
-2
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -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