mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
Fix grammar in inline comment in HttpStatus
See gh-26842
This commit is contained in:
@@ -557,7 +557,7 @@ public enum HttpStatus {
|
||||
*/
|
||||
@Nullable
|
||||
public static HttpStatus resolve(int statusCode) {
|
||||
// used cached VALUES instead of values() to prevent array allocation
|
||||
// Use cached VALUES instead of values() to prevent array allocation.
|
||||
for (HttpStatus status : VALUES) {
|
||||
if (status.value == statusCode) {
|
||||
return status;
|
||||
|
||||
Reference in New Issue
Block a user