From 7a756d270f159c770c393141eb3510f95f69354e Mon Sep 17 00:00:00 2001 From: Chris Phillipson Date: Sat, 7 Oct 2023 09:46:16 -0700 Subject: [PATCH] More cleanup of unused imports --- .../test/java/org/cloudfoundry/client/v2/BlobstoresTest.java | 1 - .../test/java/org/cloudfoundry/client/v2/DomainsTest.java | 1 - .../java/org/cloudfoundry/client/v2/FeatureFlagsTest.java | 1 - .../src/test/java/org/cloudfoundry/client/v2/InfoTest.java | 1 - .../src/test/java/org/cloudfoundry/client/v2/JobsTest.java | 1 - .../client/v2/OrganizationQuotaDefinitionsTest.java | 1 - .../java/org/cloudfoundry/client/v2/RouteMappingsTest.java | 1 - .../src/test/java/org/cloudfoundry/client/v2/RoutesTest.java | 1 - .../java/org/cloudfoundry/client/v2/ServiceBindingsTest.java | 1 - .../java/org/cloudfoundry/client/v2/ServiceBrokersTest.java | 5 ----- .../org/cloudfoundry/client/v2/UserProvidedServicesTest.java | 2 -- .../java/org/cloudfoundry/client/v3/DeploymentsTest.java | 1 - .../org/cloudfoundry/client/v3/IsolationSegmentsTest.java | 1 - .../src/test/java/org/cloudfoundry/client/v3/StacksTest.java | 1 - .../test/java/org/cloudfoundry/operations/AdvancedTest.java | 1 - .../test/java/org/cloudfoundry/operations/DomainsTest.java | 1 - .../org/cloudfoundry/operations/NetworkPoliciesTest.java | 1 - .../java/org/cloudfoundry/operations/OrganizationsTest.java | 1 - .../java/org/cloudfoundry/routing/v1/RouterGroupsTest.java | 1 - .../src/test/java/org/cloudfoundry/uaa/GroupsTest.java | 1 - .../test/java/org/cloudfoundry/uaa/IdentityZonesTest.java | 1 - 21 files changed, 26 deletions(-) diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/BlobstoresTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/BlobstoresTest.java index 4f72a287e4..6af1ce3452 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/BlobstoresTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/BlobstoresTest.java @@ -25,7 +25,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; public final class BlobstoresTest extends AbstractIntegrationTest { diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/DomainsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/DomainsTest.java index 16092caed3..17a195ccfb 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/DomainsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/DomainsTest.java @@ -53,7 +53,6 @@ import reactor.util.function.Tuple2; import java.time.Duration; -import java.util.concurrent.TimeoutException; import java.util.function.Consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/FeatureFlagsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/FeatureFlagsTest.java index 0468315d88..0c9d693197 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/FeatureFlagsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/FeatureFlagsTest.java @@ -33,7 +33,6 @@ import java.util.Arrays; import java.util.List; import java.util.Set; -import java.util.concurrent.TimeoutException; import java.util.stream.Collectors; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/InfoTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/InfoTest.java index 2d0018c038..d6998b88ad 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/InfoTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/InfoTest.java @@ -25,7 +25,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.client.CloudFoundryClient.SUPPORTED_API_VERSION; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/JobsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/JobsTest.java index 788d14f2da..50c21b216d 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/JobsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/JobsTest.java @@ -29,7 +29,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.cloudfoundry.util.tuple.TupleUtils.predicate; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/OrganizationQuotaDefinitionsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/OrganizationQuotaDefinitionsTest.java index 28e9ba9444..2d3828ee36 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/OrganizationQuotaDefinitionsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/OrganizationQuotaDefinitionsTest.java @@ -35,7 +35,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/RouteMappingsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/RouteMappingsTest.java index dd8e401b49..5f8b8549cc 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/RouteMappingsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/RouteMappingsTest.java @@ -39,7 +39,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.util.tuple.TupleUtils.consumer; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/RoutesTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/RoutesTest.java index 6b1ee4fee1..2a2c63dae6 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/RoutesTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/RoutesTest.java @@ -48,7 +48,6 @@ import reactor.util.function.Tuple3; import java.time.Duration; -import java.util.concurrent.TimeoutException; import java.util.function.Consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBindingsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBindingsTest.java index af063a1867..d928390e62 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBindingsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBindingsTest.java @@ -44,7 +44,6 @@ import java.time.Duration; import java.util.Optional; -import java.util.concurrent.TimeoutException; import java.util.function.Consumer; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBrokersTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBrokersTest.java index 0b79594a94..b902d9139b 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBrokersTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/ServiceBrokersTest.java @@ -25,8 +25,6 @@ import org.cloudfoundry.client.v2.servicebrokers.GetServiceBrokerRequest; import org.cloudfoundry.client.v2.servicebrokers.ListServiceBrokersRequest; import org.cloudfoundry.client.v2.servicebrokers.UpdateServiceBrokerRequest; -import org.cloudfoundry.client.v2.shareddomains.ListSharedDomainsRequest; -import org.cloudfoundry.client.v2.shareddomains.SharedDomainResource; import org.cloudfoundry.client.v2.spaces.CreateSpaceRequest; import org.cloudfoundry.client.v2.spaces.CreateSpaceResponse; import org.cloudfoundry.util.PaginationUtils; @@ -35,19 +33,16 @@ import org.springframework.beans.factory.annotation.Autowired; import org.springframework.core.io.ClassPathResource; import reactor.core.Exceptions; -import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import reactor.test.StepVerifier; import java.io.IOException; import java.nio.file.Path; import java.time.Duration; -import java.util.Optional; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.ServiceBrokerUtils.createServiceBroker; import static org.cloudfoundry.ServiceBrokerUtils.deleteServiceBroker; -import static org.cloudfoundry.util.tuple.TupleUtils.function; public final class ServiceBrokersTest extends AbstractIntegrationTest { diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v2/UserProvidedServicesTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v2/UserProvidedServicesTest.java index f0809f39a1..938b74b7c4 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v2/UserProvidedServicesTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v2/UserProvidedServicesTest.java @@ -26,8 +26,6 @@ import org.cloudfoundry.client.v2.routes.CreateRouteResponse; import org.cloudfoundry.client.v2.servicebindings.CreateServiceBindingRequest; import org.cloudfoundry.client.v2.servicebindings.ServiceBindingResource; -import org.cloudfoundry.client.v2.shareddomains.CreateSharedDomainRequest; -import org.cloudfoundry.client.v2.shareddomains.CreateSharedDomainResponse; import org.cloudfoundry.client.v2.userprovidedserviceinstances.AssociateUserProvidedServiceInstanceRouteRequest; import org.cloudfoundry.client.v2.userprovidedserviceinstances.AssociateUserProvidedServiceInstanceRouteResponse; import org.cloudfoundry.client.v2.userprovidedserviceinstances.CreateUserProvidedServiceInstanceRequest; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v3/DeploymentsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v3/DeploymentsTest.java index ce82f8e958..f600afaf48 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v3/DeploymentsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v3/DeploymentsTest.java @@ -47,7 +47,6 @@ import java.nio.file.Path; import java.time.Duration; -import java.util.function.Consumer; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.util.tuple.TupleUtils.function; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v3/IsolationSegmentsTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v3/IsolationSegmentsTest.java index 29c076d0d0..0588e9d3f7 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v3/IsolationSegmentsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v3/IsolationSegmentsTest.java @@ -50,7 +50,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.cloudfoundry.util.tuple.TupleUtils.function; diff --git a/integration-test/src/test/java/org/cloudfoundry/client/v3/StacksTest.java b/integration-test/src/test/java/org/cloudfoundry/client/v3/StacksTest.java index b23fe747eb..b4d2596ae7 100644 --- a/integration-test/src/test/java/org/cloudfoundry/client/v3/StacksTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/client/v3/StacksTest.java @@ -34,7 +34,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/operations/AdvancedTest.java b/integration-test/src/test/java/org/cloudfoundry/operations/AdvancedTest.java index b863d5d47a..27558f54f8 100644 --- a/integration-test/src/test/java/org/cloudfoundry/operations/AdvancedTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/operations/AdvancedTest.java @@ -22,7 +22,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; diff --git a/integration-test/src/test/java/org/cloudfoundry/operations/DomainsTest.java b/integration-test/src/test/java/org/cloudfoundry/operations/DomainsTest.java index 9b2e6bfbf8..4d23eca955 100644 --- a/integration-test/src/test/java/org/cloudfoundry/operations/DomainsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/operations/DomainsTest.java @@ -31,7 +31,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.operations.domains.Status.OWNED; diff --git a/integration-test/src/test/java/org/cloudfoundry/operations/NetworkPoliciesTest.java b/integration-test/src/test/java/org/cloudfoundry/operations/NetworkPoliciesTest.java index dac506ae7a..fc5ad4852c 100644 --- a/integration-test/src/test/java/org/cloudfoundry/operations/NetworkPoliciesTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/operations/NetworkPoliciesTest.java @@ -34,7 +34,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; public final class NetworkPoliciesTest extends AbstractIntegrationTest { diff --git a/integration-test/src/test/java/org/cloudfoundry/operations/OrganizationsTest.java b/integration-test/src/test/java/org/cloudfoundry/operations/OrganizationsTest.java index dd6f31d32b..00adc94d99 100644 --- a/integration-test/src/test/java/org/cloudfoundry/operations/OrganizationsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/operations/OrganizationsTest.java @@ -24,7 +24,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; public final class OrganizationsTest extends AbstractIntegrationTest { diff --git a/integration-test/src/test/java/org/cloudfoundry/routing/v1/RouterGroupsTest.java b/integration-test/src/test/java/org/cloudfoundry/routing/v1/RouterGroupsTest.java index 0bd1b66bc5..f6ee202f30 100644 --- a/integration-test/src/test/java/org/cloudfoundry/routing/v1/RouterGroupsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/routing/v1/RouterGroupsTest.java @@ -29,7 +29,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; public final class RouterGroupsTest extends AbstractIntegrationTest { diff --git a/integration-test/src/test/java/org/cloudfoundry/uaa/GroupsTest.java b/integration-test/src/test/java/org/cloudfoundry/uaa/GroupsTest.java index 73497187c2..6e103bb25b 100644 --- a/integration-test/src/test/java/org/cloudfoundry/uaa/GroupsTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/uaa/GroupsTest.java @@ -55,7 +55,6 @@ import java.time.Duration; import java.util.Optional; -import java.util.concurrent.TimeoutException; import static org.assertj.core.api.Assertions.assertThat; import static org.cloudfoundry.util.tuple.TupleUtils.consumer; diff --git a/integration-test/src/test/java/org/cloudfoundry/uaa/IdentityZonesTest.java b/integration-test/src/test/java/org/cloudfoundry/uaa/IdentityZonesTest.java index 02413b5a8c..ff7302a994 100644 --- a/integration-test/src/test/java/org/cloudfoundry/uaa/IdentityZonesTest.java +++ b/integration-test/src/test/java/org/cloudfoundry/uaa/IdentityZonesTest.java @@ -31,7 +31,6 @@ import reactor.test.StepVerifier; import java.time.Duration; -import java.util.concurrent.TimeoutException; public final class IdentityZonesTest extends AbstractIntegrationTest {