Remove superfluous @NonNull declarations

This commit is contained in:
Juergen Hoeller
2024-03-16 14:22:17 +01:00
parent 58bd057a24
commit eb8b7c4331
6 changed files with 13 additions and 19 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2023 the original author or authors.
* Copyright 2002-2024 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,7 +18,6 @@ package org.springframework.http;
import java.io.Serializable;
import org.springframework.lang.NonNull;
import org.springframework.lang.Nullable;
/**
@@ -80,8 +79,8 @@ final class DefaultHttpStatusCode implements HttpStatusCode, Comparable<HttpStat
@Override
public int compareTo(@NonNull HttpStatusCode o) {
return Integer.compare(this.value, o.value());
public int compareTo(HttpStatusCode other) {
return Integer.compare(this.value, other.value());
}
@Override