Merge branch '6.0.x'
This commit is contained in:
@@ -333,8 +333,8 @@ public class MessageHeaders implements Map<String, Object>, Serializable {
|
||||
// equals, hashCode, toString
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj || (obj instanceof MessageHeaders that && this.headers.equals(that.headers)));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof MessageHeaders that && this.headers.equals(that.headers)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -77,8 +77,8 @@ public class SimpMessageMappingInfo implements MessageCondition<SimpMessageMappi
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj) || (obj instanceof SimpMessageMappingInfo that && this.delegate.equals(that.delegate));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof SimpMessageMappingInfo that && this.delegate.equals(that.delegate)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -481,8 +481,8 @@ public class DefaultSubscriptionRegistry extends AbstractSubscriptionRegistry {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj || (obj instanceof Subscription that && this.id.equals(that.id)));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof Subscription that && this.id.equals(that.id)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -555,8 +555,8 @@ public class StompHeaders implements MultiValueMap<String, String>, Serializable
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj || (obj instanceof StompHeaders that && this.headers.equals(that.headers)));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof StompHeaders that && this.headers.equals(that.headers)));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -369,8 +369,8 @@ public class MultiServerUserRegistry implements SimpUserRegistry, SmartApplicati
|
||||
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj || (obj instanceof SimpUser that && this.name.equals(that.getName())));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof SimpUser that && this.name.equals(that.getName())));
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -455,8 +455,8 @@ public class MultiServerUserRegistry implements SimpUserRegistry, SmartApplicati
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean equals(@Nullable Object obj) {
|
||||
return (this == obj || (obj instanceof SimpSession that && this.id.equals(that.getId())));
|
||||
public boolean equals(@Nullable Object other) {
|
||||
return (this == other || (other instanceof SimpSession that && this.id.equals(that.getId())));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user