diff --git a/spring-web/src/main/java/org/springframework/http/HttpStatus.java b/spring-web/src/main/java/org/springframework/http/HttpStatus.java index 5e995f5007..a02e5e1680 100644 --- a/spring-web/src/main/java/org/springframework/http/HttpStatus.java +++ b/spring-web/src/main/java/org/springframework/http/HttpStatus.java @@ -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;