From 142d8e50f7de102839860c86544018119f8fe85d Mon Sep 17 00:00:00 2001 From: buildmaster Date: Thu, 1 Jun 2023 13:16:20 +0000 Subject: [PATCH] Bumping versions --- .../core/RetryAwareServiceInstanceListSupplierTests.java | 1 + ...eInstancePreferenceServiceInstanceListSupplierTests.java | 3 ++- .../core/TestSelectedServiceInstanceSupplier.java | 6 ++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/RetryAwareServiceInstanceListSupplierTests.java b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/RetryAwareServiceInstanceListSupplierTests.java index 75ebc8b8..c8befdab 100644 --- a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/RetryAwareServiceInstanceListSupplierTests.java +++ b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/RetryAwareServiceInstanceListSupplierTests.java @@ -91,4 +91,5 @@ class RetryAwareServiceInstanceListSupplierTests { supplier.selectedServiceInstance(firstInstance); verify(delegate, times(1)).selectedServiceInstance(any(ServiceInstance.class)); } + } diff --git a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/SameInstancePreferenceServiceInstanceListSupplierTests.java b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/SameInstancePreferenceServiceInstanceListSupplierTests.java index 3aeec9b1..e7b58b2f 100644 --- a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/SameInstancePreferenceServiceInstanceListSupplierTests.java +++ b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/SameInstancePreferenceServiceInstanceListSupplierTests.java @@ -86,7 +86,8 @@ class SameInstancePreferenceServiceInstanceListSupplierTests { void shouldCallSelectedServiceInstanceOnItsDelegate() { ServiceInstance firstInstance = serviceInstance("test-4"); TestSelectedServiceInstanceSupplier delegate = mock(TestSelectedServiceInstanceSupplier.class); - DelegatingServiceInstanceListSupplier supplier = new SameInstancePreferenceServiceInstanceListSupplier(delegate); + DelegatingServiceInstanceListSupplier supplier = new SameInstancePreferenceServiceInstanceListSupplier( + delegate); supplier.selectedServiceInstance(firstInstance); verify(delegate, times(1)).selectedServiceInstance(any(ServiceInstance.class)); } diff --git a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/TestSelectedServiceInstanceSupplier.java b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/TestSelectedServiceInstanceSupplier.java index 97fcf4e8..be834f63 100644 --- a/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/TestSelectedServiceInstanceSupplier.java +++ b/spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/TestSelectedServiceInstanceSupplier.java @@ -17,10 +17,12 @@ package org.springframework.cloud.loadbalancer.core; /** - * Test supplier interface extending {@link ServiceInstanceListSupplier} and {@link SelectedInstanceCallback}. - * Useful if you need to verify certain behavior happened on a mock for example. + * Test supplier interface extending {@link ServiceInstanceListSupplier} and + * {@link SelectedInstanceCallback}. Useful if you need to verify certain behavior + * happened on a mock for example. * * @author Jürgen Kreitler */ public interface TestSelectedServiceInstanceSupplier extends ServiceInstanceListSupplier, SelectedInstanceCallback { + }