mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-20 20:59:07 +00:00
Merge branch '7.0.x'
This commit is contained in:
@@ -329,6 +329,7 @@ class HttpHeadersTests {
|
||||
}
|
||||
|
||||
@Test
|
||||
@SuppressWarnings("deprecation") // for Locale constructors on JDK 19
|
||||
void dateOtherLocale() {
|
||||
Locale defaultLocale = Locale.getDefault();
|
||||
try {
|
||||
|
||||
+1
-1
@@ -73,7 +73,7 @@ class SimpleClientHttpRequestFactoryTests extends AbstractHttpRequestFactoryTest
|
||||
|
||||
@Test
|
||||
void deleteWithoutBodyDoesNotRaiseException() throws Exception {
|
||||
HttpURLConnection connection = new TestHttpURLConnection(new URL("https://example.com"));
|
||||
HttpURLConnection connection = new TestHttpURLConnection(URI.create("https://example.com").toURL());
|
||||
((SimpleClientHttpRequestFactory) this.factory).prepareConnection(connection, "DELETE");
|
||||
SimpleClientHttpRequest request = new SimpleClientHttpRequest(connection, 4096);
|
||||
request.execute();
|
||||
|
||||
Reference in New Issue
Block a user