Merge branch '6.0.x'

# Conflicts:
#	spring-context/src/main/java/org/springframework/scheduling/support/CronSequenceGenerator.java
This commit is contained in:
Juergen Hoeller
2023-07-19 00:37:06 +02:00
97 changed files with 405 additions and 822 deletions

View File

@@ -59,14 +59,9 @@ public class TestSimpSubscription implements SimpSubscription {
@Override
public boolean equals(@Nullable Object other) {
if (this == other) {
return true;
}
if (!(other instanceof SimpSubscription otherSubscription)) {
return false;
}
return (ObjectUtils.nullSafeEquals(getSession(), otherSubscription.getSession()) &&
this.id.equals(otherSubscription.getId()));
return (this == other || (other instanceof SimpSubscription that &&
ObjectUtils.nullSafeEquals(getSession(), that.getSession()) &&
this.id.equals(that.getId())));
}
@Override