From 57e2c4a4cf6244a77ca30167a8553b587e87ee04 Mon Sep 17 00:00:00 2001 From: Julien Giovaresco Date: Tue, 18 Jul 2023 15:03:45 +0200 Subject: [PATCH] refactor: fix some warnings --- .../policy/latency/LatencyPolicyIntegrationV3Test.java | 4 ---- .../latency/LatencyPolicyIntegrationV4EmulationTest.java | 1 - .../policy/latency/LatencyPolicyIntegrationV4Test.java | 1 - 3 files changed, 6 deletions(-) diff --git a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV3Test.java b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV3Test.java index 07a5eff5..3b648ea2 100644 --- a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV3Test.java +++ b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV3Test.java @@ -25,10 +25,7 @@ import io.gravitee.apim.gateway.tests.sdk.AbstractPolicyTest; import io.gravitee.apim.gateway.tests.sdk.annotations.DeployApi; import io.gravitee.apim.gateway.tests.sdk.annotations.GatewayTest; -import io.gravitee.apim.gateway.tests.sdk.configuration.GatewayConfigurationBuilder; -import io.gravitee.apim.gateway.tests.sdk.configuration.GatewayMode; import io.gravitee.apim.gateway.tests.sdk.reporter.FakeReporter; -import io.gravitee.definition.model.Api; import io.gravitee.definition.model.ExecutionMode; import io.gravitee.policy.latency.configuration.LatencyPolicyConfiguration; import io.gravitee.reporter.api.http.Metrics; @@ -41,7 +38,6 @@ import io.vertx.rxjava3.core.http.HttpClientRequest; import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; -import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** diff --git a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4EmulationTest.java b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4EmulationTest.java index aa51fcb2..d7631394 100644 --- a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4EmulationTest.java +++ b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4EmulationTest.java @@ -16,7 +16,6 @@ package io.gravitee.policy.latency; import io.gravitee.apim.gateway.tests.sdk.annotations.GatewayTest; -import io.gravitee.apim.gateway.tests.sdk.configuration.GatewayMode; /** * @author Guillaume Lamirand (guillaume.lamirand at graviteesource.com) diff --git a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4Test.java b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4Test.java index c6208fdb..2073a56f 100644 --- a/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4Test.java +++ b/src/test/java/io/gravitee/policy/latency/LatencyPolicyIntegrationV4Test.java @@ -29,7 +29,6 @@ import io.gravitee.apim.gateway.tests.sdk.AbstractPolicyTest; import io.gravitee.apim.gateway.tests.sdk.annotations.DeployApi; import io.gravitee.apim.gateway.tests.sdk.annotations.GatewayTest; -import io.gravitee.apim.gateway.tests.sdk.configuration.GatewayConfigurationBuilder; import io.gravitee.apim.gateway.tests.sdk.connector.EndpointBuilder; import io.gravitee.apim.gateway.tests.sdk.connector.EntrypointBuilder; import io.gravitee.apim.gateway.tests.sdk.connector.fakes.PersistentMockEndpointConnectorFactory;