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