Use Locale.ROOT consistently for toLower/toUpperCase

See gh-33708
This commit is contained in:
rstoyanchev
2024-10-16 12:05:13 +01:00
parent feb6a5f52d
commit 23656aebc6
43 changed files with 106 additions and 82 deletions

View File

@@ -169,7 +169,7 @@ abstract class AbstractHttpRequestFactoryTests extends AbstractMockWebServerTest
try (ClientHttpResponse response = request.execute()) {
assertThat(response.getStatusCode()).as("Invalid response status").isEqualTo(HttpStatus.OK);
assertThat(request.getMethod().name()).as("Invalid method").isEqualTo(path.toUpperCase(Locale.ENGLISH));
assertThat(request.getMethod().name()).as("Invalid method").isEqualTo(path.toUpperCase(Locale.ROOT));
}
}