Browse Source

Polishing

pull/36190/head
Juergen Hoeller 2 weeks ago
parent
commit
1c56ec3f7e
  1. 4
      spring-core-test/src/main/java/org/springframework/aot/agent/RuntimeHintsAgent.java
  2. 2
      spring-test/src/main/java/org/springframework/test/json/JsonConverterDelegate.java
  3. 6
      spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

4
spring-core-test/src/main/java/org/springframework/aot/agent/RuntimeHintsAgent.java

@ -49,7 +49,6 @@ public final class RuntimeHintsAgent { @@ -49,7 +49,6 @@ public final class RuntimeHintsAgent {
private static boolean loaded = false;
private RuntimeHintsAgent() {
}
public static void premain(@Nullable String agentArgs, Instrumentation inst) {
@ -68,6 +67,7 @@ public final class RuntimeHintsAgent { @@ -68,6 +67,7 @@ public final class RuntimeHintsAgent {
return loaded;
}
private static final class ParsedArguments {
List<String> instrumentedPackages;
@ -108,6 +108,6 @@ public final class RuntimeHintsAgent { @@ -108,6 +108,6 @@ public final class RuntimeHintsAgent {
}
return new ParsedArguments(included, excluded);
}
}
}

2
spring-test/src/main/java/org/springframework/test/json/JsonConverterDelegate.java

@ -43,7 +43,7 @@ public interface JsonConverterDelegate { @@ -43,7 +43,7 @@ public interface JsonConverterDelegate {
* serialization and deserialization to and from JSON. This is useful for
* mapping generic maps and lists to higher level Objects.
* @param value the value to map
* @param targetType the target tyep
* @param targetType the target type
* @return the decoded object
* @param <T> the target type
*/

6
spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java

@ -440,7 +440,7 @@ class WebClientIntegrationTests { @@ -440,7 +440,7 @@ class WebClientIntegrationTests {
});
}
@Test // gh-24788
@Test // gh-24788
void retrieveJsonArrayAsBodilessEntityShouldReleaseConnection() throws IOException {
// Constrain connection pool and make consecutive requests.
@ -724,7 +724,7 @@ class WebClientIntegrationTests { @@ -724,7 +724,7 @@ class WebClientIntegrationTests {
});
}
@ParameterizedWebClientTest // gh-31202
@ParameterizedWebClientTest // gh-31202
void retrieve929UnknownStatusCode(ClientHttpConnector connector) throws IOException {
startServer(connector);
@ -1322,7 +1322,7 @@ class WebClientIntegrationTests { @@ -1322,7 +1322,7 @@ class WebClientIntegrationTests {
.verify(Duration.ofSeconds(3));
}
@Test // gh-36158
@Test // gh-36158
void reactorNettyAttributes() throws IOException {
startServer(new ReactorClientHttpConnector());

Loading…
Cancel
Save