diff --git a/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5HttpResponseTest.java b/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5HttpResponseTest.java index 9385ea1fa..694b3f37e 100644 --- a/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5HttpResponseTest.java +++ b/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5HttpResponseTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at @@ -14,19 +14,12 @@ package com.google.api.client.http.apache.v5; -import com.google.api.client.http.*; -import org.apache.hc.client5.http.classic.methods.*; -import org.apache.hc.core5.http.*; -import org.apache.hc.core5.http.io.entity.*; -import org.apache.hc.core5.http.protocol.*; -import org.junit.*; +import org.apache.hc.client5.http.classic.methods.HttpPost; +import org.apache.hc.client5.http.classic.methods.HttpUriRequestBase; +import org.junit.Test; +import java.io.InputStream; -import java.io.*; -import java.nio.charset.*; -import java.util.*; -import java.util.concurrent.atomic.*; - -import static org.junit.Assert.*; +import static org.junit.Assert.assertNotNull; public class Apache5HttpResponseTest { @Test @@ -44,4 +37,4 @@ public void testNullContent() throws Exception { assertNotNull(content); } -} \ No newline at end of file +} diff --git a/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5ResponseContentTest.java b/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5ResponseContentTest.java index 65f7598fd..1c4e4ce61 100644 --- a/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5ResponseContentTest.java +++ b/google-http-client-apache-v5/src/test/java/com/google/api/client/http/apache/v5/Apache5ResponseContentTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2019 Google LLC + * Copyright 2024 Google LLC * * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except * in compliance with the License. You may obtain a copy of the License at @@ -14,12 +14,9 @@ package com.google.api.client.http.apache.v5; -import org.apache.hc.client5.http.classic.methods.*; -import org.junit.*; - -import java.io.*; - -import static org.junit.Assert.*; +import java.io.IOException; +import java.io.InputStream; +import org.junit.Test; public class Apache5ResponseContentTest { @Test @@ -47,4 +44,4 @@ public void testNullWrappedContent_doesNotThrowExceptionOnClose() throws Excepti response.close(); } -} \ No newline at end of file +}