Fix grammar in inline comment in HttpStatus

See gh-26842
This commit is contained in:
Sam Brannen
2021-05-13 16:21:45 +02:00
parent cab20d1202
commit fae484855b

View File

@@ -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;