diff --git a/cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/client/v3/AbstractClientV3Operations.java b/cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/client/v3/AbstractClientV3Operations.java index 63a1c63b4d..92ee626cbe 100644 --- a/cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/client/v3/AbstractClientV3Operations.java +++ b/cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/client/v3/AbstractClientV3Operations.java @@ -37,7 +37,6 @@ import reactor.netty.http.client.HttpClientRequest; import reactor.netty.http.client.HttpClientResponse; -import java.nio.charset.Charset; import java.util.List; import java.util.Map; import java.util.function.BiConsumer; diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/resourcematch/_ListMatchingResourcesResponse.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/resourcematch/_ListMatchingResourcesResponse.java index 9c9c1e0cd1..96154230bd 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/resourcematch/_ListMatchingResourcesResponse.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/resourcematch/_ListMatchingResourcesResponse.java @@ -16,14 +16,9 @@ package org.cloudfoundry.client.v3.resourcematch; -import com.fasterxml.jackson.core.JsonParser; -import com.fasterxml.jackson.core.type.TypeReference; -import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import com.fasterxml.jackson.databind.deser.std.StdDeserializer; import org.immutables.value.Value; -import java.io.IOException; import java.util.List; /** diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/Role.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/Role.java index 0bb0465fc7..85d5106185 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/Role.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/Role.java @@ -17,7 +17,6 @@ package org.cloudfoundry.client.v3.roles; import com.fasterxml.jackson.annotation.JsonProperty; -import org.cloudfoundry.Nullable; import org.cloudfoundry.client.v3.Resource; /** diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/_RoleRelationships.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/_RoleRelationships.java index 90299eb42b..90c4d99c51 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/_RoleRelationships.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/roles/_RoleRelationships.java @@ -18,7 +18,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.cloudfoundry.AllowNulls; import org.cloudfoundry.Nullable; import org.cloudfoundry.client.v3.ToOneRelationship; import org.immutables.value.Value; diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes/RouteDestinations.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes/RouteDestinations.java index 476c0b3881..a8b5f235bb 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes/RouteDestinations.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/client/v3/routes/RouteDestinations.java @@ -1,7 +1,6 @@ package org.cloudfoundry.client.v3.routes; import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.cloudfoundry.AllowNulls; import org.cloudfoundry.client.v3.Link; diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_EnvelopeBatch.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_EnvelopeBatch.java index c12971e503..2ac26a35fc 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_EnvelopeBatch.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_EnvelopeBatch.java @@ -18,7 +18,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.cloudfoundry.doppler.HttpStartStop; import org.immutables.value.Value; import java.util.List; diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Event.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Event.java index de330d4b98..9342ec5bf7 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Event.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Event.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.cloudfoundry.Nullable; -import org.cloudfoundry.doppler.HttpStartStop; import org.immutables.value.Value; @JsonDeserialize diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Log.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Log.java index ef8908f92a..cb001a2e19 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Log.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/logcache/v1/_Log.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; import org.cloudfoundry.Nullable; -import org.cloudfoundry.doppler.HttpStartStop; import org.immutables.value.Value; import java.nio.ByteBuffer; diff --git a/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/_TcpRoute.java b/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/_TcpRoute.java index feb1177ae4..a125309185 100644 --- a/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/_TcpRoute.java +++ b/cloudfoundry-client/src/main/java/org/cloudfoundry/routing/v1/tcproutes/_TcpRoute.java @@ -16,9 +16,7 @@ package org.cloudfoundry.routing.v1.tcproutes; -import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.databind.annotation.JsonDeserialize; -import org.cloudfoundry.routing.v1.ModificationTag; import org.immutables.value.Value; /** diff --git a/cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/spaces/DeleteUnmappedRoutesRequestTest.java b/cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/spaces/DeleteUnmappedRoutesRequestTest.java index cccfa33de0..49788574b7 100644 --- a/cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/spaces/DeleteUnmappedRoutesRequestTest.java +++ b/cloudfoundry-client/src/test/java/org/cloudfoundry/client/v3/spaces/DeleteUnmappedRoutesRequestTest.java @@ -16,7 +16,6 @@ package org.cloudfoundry.client.v3.spaces; -import org.cloudfoundry.client.v3.routes.DeleteRouteRequest; import org.junit.Test; public class DeleteUnmappedRoutesRequestTest { diff --git a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtils.java b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtils.java index f470d6d93e..0a2590b109 100644 --- a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtils.java +++ b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtils.java @@ -30,7 +30,6 @@ import java.util.List; import java.util.Map; import java.util.Optional; -import java.util.TreeMap; import java.util.stream.Collectors; import java.util.stream.Stream; diff --git a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsCommon.java b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsCommon.java index adf7a7b0b3..8e9171de4a 100644 --- a/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsCommon.java +++ b/cloudfoundry-operations/src/main/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsCommon.java @@ -27,7 +27,6 @@ import java.nio.file.Path; import java.nio.file.StandardOpenOption; import java.util.Collection; -import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; @@ -42,7 +41,6 @@ import java.util.stream.Collectors; import static java.util.Collections.emptyMap; -import static java.util.stream.Collectors.toMap; /** * Common base class for dealing with manifests diff --git a/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsTest.java b/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsTest.java index 8a3cab6ade..a69fd782cd 100644 --- a/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsTest.java +++ b/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/applications/ApplicationManifestUtilsTest.java @@ -33,8 +33,6 @@ import static org.assertj.core.api.AssertionsForClassTypes.assertThatExceptionOfType; import static org.cloudfoundry.operations.applications.ApplicationHealthCheck.NONE; import static org.cloudfoundry.operations.applications.ApplicationHealthCheck.PORT; -import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertThrows; import static org.junit.Assume.assumeTrue; public final class ApplicationManifestUtilsTest { diff --git a/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/routes/DefaultRoutesTest.java b/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/routes/DefaultRoutesTest.java index 31e015f1ec..54311e4449 100644 --- a/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/routes/DefaultRoutesTest.java +++ b/cloudfoundry-operations/src/test/java/org/cloudfoundry/operations/routes/DefaultRoutesTest.java @@ -40,9 +40,6 @@ import org.cloudfoundry.client.v2.routes.RouteEntity; import org.cloudfoundry.client.v2.routes.RouteExistsRequest; import org.cloudfoundry.client.v2.routes.RouteResource; -import org.cloudfoundry.client.v2.serviceinstances.GetServiceInstanceRequest; -import org.cloudfoundry.client.v2.serviceinstances.GetServiceInstanceResponse; -import org.cloudfoundry.client.v2.serviceinstances.ServiceInstanceResource; import org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceEntity; import org.cloudfoundry.client.v2.serviceinstances.UnionServiceInstanceResource; import org.cloudfoundry.client.v2.shareddomains.ListSharedDomainsRequest; diff --git a/cloudfoundry-util/src/test/java/org/cloudfoundry/util/PaginationUtilsTest.java b/cloudfoundry-util/src/test/java/org/cloudfoundry/util/PaginationUtilsTest.java index b18771368a..5feaa87131 100644 --- a/cloudfoundry-util/src/test/java/org/cloudfoundry/util/PaginationUtilsTest.java +++ b/cloudfoundry-util/src/test/java/org/cloudfoundry/util/PaginationUtilsTest.java @@ -41,7 +41,6 @@ import java.time.Duration; import java.util.Collections; -import java.util.concurrent.TimeoutException; import static org.mockito.Mockito.RETURNS_SMART_NULLS; import static org.mockito.Mockito.mock; diff --git a/test-log-cache/src/main/java/org/cloudfoundry/logcachetest/package-info.java b/test-log-cache/src/main/java/org/cloudfoundry/logcachetest/package-info.java index d1daa10d1d..440918b866 100644 --- a/test-log-cache/src/main/java/org/cloudfoundry/logcachetest/package-info.java +++ b/test-log-cache/src/main/java/org/cloudfoundry/logcachetest/package-info.java @@ -24,5 +24,3 @@ typeImmutable = "*" ) package org.cloudfoundry.logcachetest; - -import org.immutables.value.Value; diff --git a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/binding/_UnbindResponse.java b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/binding/_UnbindResponse.java index 044653808f..4379da6be3 100644 --- a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/binding/_UnbindResponse.java +++ b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/binding/_UnbindResponse.java @@ -16,8 +16,6 @@ package org.cloudfoundry.servicebroker.binding; -import org.immutables.value.Value; - @Value.Immutable abstract class _UnbindResponse { diff --git a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_DeprovisionSyncResponse.java b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_DeprovisionSyncResponse.java index a4ec3c5f22..cb078134a4 100644 --- a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_DeprovisionSyncResponse.java +++ b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_DeprovisionSyncResponse.java @@ -16,8 +16,6 @@ package org.cloudfoundry.servicebroker.instance; -import org.immutables.value.Value; - @Value.Immutable abstract class _DeprovisionSyncResponse { diff --git a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_UpdateSyncResponse.java b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_UpdateSyncResponse.java index e288a0a6df..b33cce5ef2 100644 --- a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_UpdateSyncResponse.java +++ b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/instance/_UpdateSyncResponse.java @@ -16,8 +16,6 @@ package org.cloudfoundry.servicebroker.instance; -import org.immutables.value.Value; - @Value.Immutable abstract class _UpdateSyncResponse { diff --git a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/lastoperation/_LastOperationDeprovisionResponse.java b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/lastoperation/_LastOperationDeprovisionResponse.java index ff669bcdb1..2492975420 100644 --- a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/lastoperation/_LastOperationDeprovisionResponse.java +++ b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/lastoperation/_LastOperationDeprovisionResponse.java @@ -16,8 +16,6 @@ package org.cloudfoundry.servicebroker.lastoperation; -import org.immutables.value.Value; - @Value.Immutable abstract class _LastOperationDeprovisionResponse { diff --git a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/package-info.java b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/package-info.java index cd1e62f229..217d28ba61 100644 --- a/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/package-info.java +++ b/test-service-broker/src/main/java/org/cloudfoundry/servicebroker/package-info.java @@ -28,5 +28,3 @@ typeImmutable = "*" ) package org.cloudfoundry.servicebroker; - -import org.immutables.value.Value;