Merge branch '5.3.x'

This commit is contained in:
Brian Clozel
2022-03-24 13:32:31 +01:00
4 changed files with 11 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ package org.springframework.http;
import java.io.Serializable;
import org.jetbrains.annotations.NotNull;
import org.springframework.lang.NonNull;
/**
* Default implementation of {@link HttpStatusCode}.
@@ -79,7 +79,7 @@ final class DefaultHttpStatusCode
}
@Override
public int compareTo(@NotNull HttpStatusCode o) {
public int compareTo(@NonNull HttpStatusCode o) {
return Integer.compare(this.value, o.value());
}