Polishing

This commit is contained in:
Juergen Hoeller
2025-08-22 21:05:16 +02:00
parent d128dd2616
commit a46023134a
11 changed files with 4 additions and 12 deletions
@@ -27,11 +27,11 @@ import static org.mockito.Mockito.mock;
/**
* Unit tests for {@link HttpServiceProxyFactory}.
*
* @author Rossen Stoyanchev
*/
public class HttpServiceProxyFactoryTests {
@Test
void httpExchangeAdapterDecorator() {
@@ -44,7 +44,6 @@ public class HttpServiceProxyFactoryTests {
}
private interface Service {
@GetExchange
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry;
import java.util.List;
import java.util.Map;
@@ -37,6 +36,7 @@ import static org.mockito.Mockito.mock;
/**
* Unit tests for {@link AbstractClientHttpServiceRegistrar}.
*
* @author Rossen Stoyanchev
*/
public class ClientHttpServiceRegistrarTests {
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry;
import java.util.Arrays;
import java.util.LinkedHashSet;
import java.util.Set;
@@ -53,4 +52,5 @@ record TestGroup(
group.packageClasses().addAll(Arrays.asList(packageClasses));
return group;
}
}
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry;
import java.util.Arrays;
import java.util.LinkedHashMap;
import java.util.Map;
@@ -76,4 +75,5 @@ class TestGroupRegistry implements GroupRegistry {
return this.groupMap.computeIfAbsent(this.groupName, name -> new TestGroup(name, this.clientType));
}
}
}
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.basic;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.registry.HttpServiceClient;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.echo;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.echo;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.echo;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.registry.HttpServiceClient;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.echo;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.registry.HttpServiceClient;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.greeting;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
@@ -16,7 +16,6 @@
package org.springframework.web.service.registry.greeting;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;