From f389d93bce653503555fde97a8ede600b830159d Mon Sep 17 00:00:00 2001 From: David Walluck Date: Thu, 5 Dec 2024 11:58:25 -0500 Subject: [PATCH] Remove unused imports --- src/main/java/com/redhat/red/build/koji/KojiClient.java | 5 ----- .../redhat/red/build/koji/model/json/BuildComponent.java | 1 - .../red/build/koji/model/json/FileBuildComponent.java | 1 - .../redhat/red/build/koji/model/json/SectionBuilder.java | 4 ---- .../red/build/koji/model/json/VerifiableBuilder.java | 2 -- .../build/koji/model/json/util/MavenGAVDeserializer.java | 1 - .../model/json/util/SecondsSinceEpochDeserializer.java | 7 ------- .../koji/model/json/util/SecondsSinceEpochSerializer.java | 1 - .../com/redhat/red/build/koji/ExternalHttpClientTest.java | 4 ---- .../red/build/koji/ExternalMultiCallTimeoutTest.java | 1 - src/test/java/com/redhat/red/build/koji/KeySizeTest.java | 5 ----- .../com/redhat/red/build/koji/it/AbstractWithSetupIT.java | 4 ---- .../java/com/redhat/red/build/koji/it/CreateTagIT.java | 2 -- .../red/build/koji/it/CreateTagUsingWithSessionIT.java | 1 - .../redhat/red/build/koji/it/ExternalGetBuildInfoIT.java | 1 - .../com/redhat/red/build/koji/it/GetAllPermissionsIT.java | 1 - .../redhat/red/build/koji/it/GetNonExistentTagIdIT.java | 1 - .../red/build/koji/it/ImportBuildConnectionStressIT.java | 2 -- .../com/redhat/red/build/koji/it/ImportSimpleBuildIT.java | 1 - .../java/com/redhat/red/build/koji/it/ListArchivesIT.java | 4 ---- .../redhat/red/build/koji/model/json/AbstractJsonTest.java | 2 -- .../redhat/red/build/koji/model/json/BuildOutputTest.java | 2 -- .../redhat/red/build/koji/model/json/BuildRootTest.java | 1 - .../red/build/koji/model/xmlrpc/KojiArchiveInfoTest.java | 2 -- .../koji/model/xmlrpc/messages/ApiVersionRequestTest.java | 2 -- .../koji/model/xmlrpc/messages/BuildListResponseTest.java | 2 -- .../koji/model/xmlrpc/messages/GetArchiveResponseTest.java | 4 ---- .../model/xmlrpc/messages/GetBuildTypeRequestTest.java | 1 - .../model/xmlrpc/messages/GetBuildTypeResponseTest.java | 1 - .../model/xmlrpc/messages/GetImageArchiveRequestTest.java | 3 --- .../model/xmlrpc/messages/GetMavenArchiveRequestTest.java | 2 -- .../model/xmlrpc/messages/GetWinArchiveRequestTest.java | 3 --- .../koji/model/xmlrpc/messages/ListTagsResponseTest.java | 1 - .../koji/model/xmlrpc/messages/LoginResponseTest.java | 1 - 34 files changed, 76 deletions(-) diff --git a/src/main/java/com/redhat/red/build/koji/KojiClient.java b/src/main/java/com/redhat/red/build/koji/KojiClient.java index f38bb271..975ca146 100644 --- a/src/main/java/com/redhat/red/build/koji/KojiClient.java +++ b/src/main/java/com/redhat/red/build/koji/KojiClient.java @@ -63,15 +63,10 @@ import java.util.Collections; import java.util.Date; import java.util.HashMap; -import java.util.HashSet; import java.util.List; import java.util.Map; -import java.util.Set; import java.util.concurrent.Callable; -import java.util.concurrent.ExecutionException; -import java.util.concurrent.ExecutorCompletionService; import java.util.concurrent.ExecutorService; -import java.util.concurrent.Future; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; import java.util.function.Supplier; diff --git a/src/main/java/com/redhat/red/build/koji/model/json/BuildComponent.java b/src/main/java/com/redhat/red/build/koji/model/json/BuildComponent.java index 1c8af3d4..3cd82823 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/BuildComponent.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/BuildComponent.java @@ -23,7 +23,6 @@ import com.redhat.red.build.koji.model.converter.KojiBuildComponentConverter; import org.commonjava.rwx.anno.Converter; import org.commonjava.rwx.anno.DataKey; -import org.commonjava.rwx.anno.StructPart; import java.util.HashSet; import java.util.Set; diff --git a/src/main/java/com/redhat/red/build/koji/model/json/FileBuildComponent.java b/src/main/java/com/redhat/red/build/koji/model/json/FileBuildComponent.java index 8481d3c1..4bb23ca1 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/FileBuildComponent.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/FileBuildComponent.java @@ -18,7 +18,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonTypeName; import org.commonjava.rwx.anno.DataKey; -import org.commonjava.rwx.anno.StructPart; import java.util.Objects; import java.util.Set; diff --git a/src/main/java/com/redhat/red/build/koji/model/json/SectionBuilder.java b/src/main/java/com/redhat/red/build/koji/model/json/SectionBuilder.java index 65c3f707..69d59ef1 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/SectionBuilder.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/SectionBuilder.java @@ -15,10 +15,6 @@ */ package com.redhat.red.build.koji.model.json; -import java.util.Set; - -import static org.apache.commons.lang.StringUtils.isEmpty; - /** * Created by jdcasey on 2/16/16. */ diff --git a/src/main/java/com/redhat/red/build/koji/model/json/VerifiableBuilder.java b/src/main/java/com/redhat/red/build/koji/model/json/VerifiableBuilder.java index 64df9b96..25967843 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/VerifiableBuilder.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/VerifiableBuilder.java @@ -17,8 +17,6 @@ import java.util.Set; -import static org.apache.commons.lang.StringUtils.isEmpty; - /** * Created by jdcasey on 2/16/16. */ diff --git a/src/main/java/com/redhat/red/build/koji/model/json/util/MavenGAVDeserializer.java b/src/main/java/com/redhat/red/build/koji/model/json/util/MavenGAVDeserializer.java index de9fdfba..8676fa8d 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/util/MavenGAVDeserializer.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/util/MavenGAVDeserializer.java @@ -20,7 +20,6 @@ import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import org.commonjava.atlas.maven.ident.ref.ProjectVersionRef; import org.commonjava.atlas.maven.ident.ref.SimpleProjectVersionRef; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochDeserializer.java b/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochDeserializer.java index 42c7c784..eda89ca0 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochDeserializer.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochDeserializer.java @@ -17,20 +17,13 @@ import com.fasterxml.jackson.core.JsonParser; import com.fasterxml.jackson.core.JsonProcessingException; -import com.fasterxml.jackson.core.JsonToken; import com.fasterxml.jackson.databind.DeserializationContext; import com.fasterxml.jackson.databind.deser.std.StdDeserializer; -import org.commonjava.atlas.maven.ident.ref.ProjectVersionRef; -import org.commonjava.atlas.maven.ident.ref.SimpleProjectVersionRef; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import java.io.IOException; import java.util.Calendar; import java.util.Date; -import static org.apache.commons.lang.StringUtils.isEmpty; - /** * Created by jdcasey on 2/10/16. */ diff --git a/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochSerializer.java b/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochSerializer.java index 9438c031..d6aacc3f 100644 --- a/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochSerializer.java +++ b/src/main/java/com/redhat/red/build/koji/model/json/util/SecondsSinceEpochSerializer.java @@ -19,7 +19,6 @@ import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.databind.SerializerProvider; import com.fasterxml.jackson.databind.ser.std.StdSerializer; -import org.commonjava.atlas.maven.ident.ref.ProjectVersionRef; import java.io.IOException; import java.util.Calendar; diff --git a/src/test/java/com/redhat/red/build/koji/ExternalHttpClientTest.java b/src/test/java/com/redhat/red/build/koji/ExternalHttpClientTest.java index b9c0cde6..63d05058 100644 --- a/src/test/java/com/redhat/red/build/koji/ExternalHttpClientTest.java +++ b/src/test/java/com/redhat/red/build/koji/ExternalHttpClientTest.java @@ -26,17 +26,13 @@ import org.junit.Before; import org.junit.Test; -import static org.junit.Assume.assumeNotNull; - import java.util.ArrayList; import java.util.List; import java.util.Map; import java.util.concurrent.Executors; import static com.redhat.red.build.koji.model.xmlrpc.messages.Constants.GET_TASK_INFO; -import static org.apache.commons.lang.StringUtils.isBlank; import static org.junit.Assert.assertTrue; -import static org.junit.Assert.assertThat; import static org.junit.Assume.assumeTrue; /** diff --git a/src/test/java/com/redhat/red/build/koji/ExternalMultiCallTimeoutTest.java b/src/test/java/com/redhat/red/build/koji/ExternalMultiCallTimeoutTest.java index 23bc731b..60709417 100644 --- a/src/test/java/com/redhat/red/build/koji/ExternalMultiCallTimeoutTest.java +++ b/src/test/java/com/redhat/red/build/koji/ExternalMultiCallTimeoutTest.java @@ -23,7 +23,6 @@ import com.redhat.red.build.koji.model.xmlrpc.KojiArchiveQuery; import org.junit.Before; -import org.junit.Ignore; import org.junit.Test; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/src/test/java/com/redhat/red/build/koji/KeySizeTest.java b/src/test/java/com/redhat/red/build/koji/KeySizeTest.java index 889e0074..5b4bdf4e 100644 --- a/src/test/java/com/redhat/red/build/koji/KeySizeTest.java +++ b/src/test/java/com/redhat/red/build/koji/KeySizeTest.java @@ -18,13 +18,8 @@ import org.junit.Assume; import org.junit.Before; import org.junit.Test; -import org.junit.experimental.categories.Category; import javax.crypto.Cipher; -import java.io.IOException; -import java.nio.file.Files; -import java.nio.file.Path; -import java.nio.file.Paths; import java.security.NoSuchAlgorithmException; import static org.hamcrest.CoreMatchers.equalTo; diff --git a/src/test/java/com/redhat/red/build/koji/it/AbstractWithSetupIT.java b/src/test/java/com/redhat/red/build/koji/it/AbstractWithSetupIT.java index 588457e3..3693740f 100644 --- a/src/test/java/com/redhat/red/build/koji/it/AbstractWithSetupIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/AbstractWithSetupIT.java @@ -17,15 +17,11 @@ import org.apache.commons.io.IOUtils; import org.apache.http.client.methods.CloseableHttpResponse; -import org.apache.http.client.methods.HttpGet; import org.apache.http.client.methods.HttpPost; import org.apache.http.client.methods.HttpPut; import org.apache.http.entity.InputStreamEntity; import org.apache.http.impl.client.CloseableHttpClient; -import org.junit.Assert; -import java.io.File; -import java.io.FileOutputStream; import java.io.IOException; import java.io.InputStream; import java.nio.file.Paths; diff --git a/src/test/java/com/redhat/red/build/koji/it/CreateTagIT.java b/src/test/java/com/redhat/red/build/koji/it/CreateTagIT.java index 28fc918b..ebccfd09 100644 --- a/src/test/java/com/redhat/red/build/koji/it/CreateTagIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/CreateTagIT.java @@ -22,8 +22,6 @@ import java.util.Collections; -import static org.junit.Assert.assertThat; - /** * Created by jdcasey on 1/14/16. */ diff --git a/src/test/java/com/redhat/red/build/koji/it/CreateTagUsingWithSessionIT.java b/src/test/java/com/redhat/red/build/koji/it/CreateTagUsingWithSessionIT.java index a102777f..562490b6 100644 --- a/src/test/java/com/redhat/red/build/koji/it/CreateTagUsingWithSessionIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/CreateTagUsingWithSessionIT.java @@ -16,7 +16,6 @@ package com.redhat.red.build.koji.it; import com.redhat.red.build.koji.KojiClient; -import com.redhat.red.build.koji.model.xmlrpc.KojiSessionInfo; import com.redhat.red.build.koji.model.xmlrpc.messages.CreateTagRequest; import org.junit.Test; diff --git a/src/test/java/com/redhat/red/build/koji/it/ExternalGetBuildInfoIT.java b/src/test/java/com/redhat/red/build/koji/it/ExternalGetBuildInfoIT.java index a9001052..3c906833 100644 --- a/src/test/java/com/redhat/red/build/koji/it/ExternalGetBuildInfoIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/ExternalGetBuildInfoIT.java @@ -22,7 +22,6 @@ import org.junit.Test; import static junit.framework.TestCase.assertTrue; -import static org.hamcrest.CoreMatchers.containsString; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.core.IsNull.notNullValue; import static org.junit.Assert.assertThat; diff --git a/src/test/java/com/redhat/red/build/koji/it/GetAllPermissionsIT.java b/src/test/java/com/redhat/red/build/koji/it/GetAllPermissionsIT.java index f4f3756e..492617ef 100644 --- a/src/test/java/com/redhat/red/build/koji/it/GetAllPermissionsIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/GetAllPermissionsIT.java @@ -22,7 +22,6 @@ import org.junit.Test; import java.util.List; -import java.util.Set; /** * Created by jdcasey on 11/13/15. diff --git a/src/test/java/com/redhat/red/build/koji/it/GetNonExistentTagIdIT.java b/src/test/java/com/redhat/red/build/koji/it/GetNonExistentTagIdIT.java index bc670c1c..1c6a4ca6 100644 --- a/src/test/java/com/redhat/red/build/koji/it/GetNonExistentTagIdIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/GetNonExistentTagIdIT.java @@ -17,7 +17,6 @@ import com.redhat.red.build.koji.KojiClient; import com.redhat.red.build.koji.KojiClientException; -import com.redhat.red.build.koji.model.xmlrpc.KojiSessionInfo; import com.redhat.red.build.koji.model.xmlrpc.KojiTagInfo; import org.junit.Test; diff --git a/src/test/java/com/redhat/red/build/koji/it/ImportBuildConnectionStressIT.java b/src/test/java/com/redhat/red/build/koji/it/ImportBuildConnectionStressIT.java index 783b9db0..8619be94 100644 --- a/src/test/java/com/redhat/red/build/koji/it/ImportBuildConnectionStressIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/ImportBuildConnectionStressIT.java @@ -16,7 +16,6 @@ package com.redhat.red.build.koji.it; import com.redhat.red.build.koji.KojiClient; -import com.redhat.red.build.koji.KojiClientException; import com.redhat.red.build.koji.KojijiErrorInfo; import com.redhat.red.build.koji.model.ImportFile; import com.redhat.red.build.koji.model.KojiImportResult; @@ -50,7 +49,6 @@ import java.util.List; import java.util.Map; import java.util.Random; -import java.util.concurrent.CountDownLatch; import java.util.concurrent.ExecutorCompletionService; import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; diff --git a/src/test/java/com/redhat/red/build/koji/it/ImportSimpleBuildIT.java b/src/test/java/com/redhat/red/build/koji/it/ImportSimpleBuildIT.java index 2ca48cd8..3d85f37a 100644 --- a/src/test/java/com/redhat/red/build/koji/it/ImportSimpleBuildIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/ImportSimpleBuildIT.java @@ -25,7 +25,6 @@ import com.redhat.red.build.koji.model.json.KojiImport; import com.redhat.red.build.koji.model.json.StandardArchitecture; import com.redhat.red.build.koji.model.json.StandardBuildType; -import com.redhat.red.build.koji.model.json.StandardOutputType; import com.redhat.red.build.koji.model.xmlrpc.KojiArchiveType; import com.redhat.red.build.koji.model.xmlrpc.KojiBuildInfo; import com.redhat.red.build.koji.model.xmlrpc.KojiSessionInfo; diff --git a/src/test/java/com/redhat/red/build/koji/it/ListArchivesIT.java b/src/test/java/com/redhat/red/build/koji/it/ListArchivesIT.java index 3dc53490..1114b196 100644 --- a/src/test/java/com/redhat/red/build/koji/it/ListArchivesIT.java +++ b/src/test/java/com/redhat/red/build/koji/it/ListArchivesIT.java @@ -19,12 +19,8 @@ import com.redhat.red.build.koji.model.xmlrpc.KojiArchiveQuery; import com.redhat.red.build.koji.model.xmlrpc.KojiMavenRef; import com.redhat.red.build.koji.model.xmlrpc.KojiSessionInfo; -import com.redhat.red.build.koji.model.xmlrpc.KojiTagInfo; import org.junit.Test; -import static org.hamcrest.CoreMatchers.nullValue; -import static org.junit.Assert.assertThat; - /** * Created by ruhan on 9/14/17. */ diff --git a/src/test/java/com/redhat/red/build/koji/model/json/AbstractJsonTest.java b/src/test/java/com/redhat/red/build/koji/model/json/AbstractJsonTest.java index 22de8c0a..22d6b15d 100644 --- a/src/test/java/com/redhat/red/build/koji/model/json/AbstractJsonTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/json/AbstractJsonTest.java @@ -18,8 +18,6 @@ import com.redhat.red.build.koji.model.generated.Model_Registry; import com.redhat.red.build.koji.model.json.util.KojiObjectMapper; import org.commonjava.atlas.maven.ident.ref.SimpleProjectVersionRef; -import org.commonjava.rwx.core.Registry; -import org.junit.BeforeClass; import java.util.Arrays; import java.util.Calendar; diff --git a/src/test/java/com/redhat/red/build/koji/model/json/BuildOutputTest.java b/src/test/java/com/redhat/red/build/koji/model/json/BuildOutputTest.java index 38c124ea..a866faff 100644 --- a/src/test/java/com/redhat/red/build/koji/model/json/BuildOutputTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/json/BuildOutputTest.java @@ -15,8 +15,6 @@ */ package com.redhat.red.build.koji.model.json; -import com.fasterxml.jackson.core.JsonProcessingException; -import org.commonjava.atlas.maven.ident.ref.SimpleProjectVersionRef; import org.junit.Test; import java.io.IOException; diff --git a/src/test/java/com/redhat/red/build/koji/model/json/BuildRootTest.java b/src/test/java/com/redhat/red/build/koji/model/json/BuildRootTest.java index a0ea2686..cab79cd0 100644 --- a/src/test/java/com/redhat/red/build/koji/model/json/BuildRootTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/json/BuildRootTest.java @@ -15,7 +15,6 @@ */ package com.redhat.red.build.koji.model.json; -import com.fasterxml.jackson.core.JsonProcessingException; import org.junit.Test; import java.io.IOException; diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/KojiArchiveInfoTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/KojiArchiveInfoTest.java index 363b2797..51ba06a6 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/KojiArchiveInfoTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/KojiArchiveInfoTest.java @@ -18,12 +18,10 @@ import org.commonjava.atlas.maven.ident.ref.SimpleArtifactRef; import org.junit.Assert; import org.junit.Test; -import org.mockito.internal.matchers.Null; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.not; import static org.junit.Assert.assertThat; -import static org.junit.Assert.fail; /** * Created by jdcasey on 1/23/17. diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ApiVersionRequestTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ApiVersionRequestTest.java index ff7bb648..62b3af63 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ApiVersionRequestTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ApiVersionRequestTest.java @@ -17,8 +17,6 @@ import org.junit.Test; -import static junit.framework.TestCase.assertEquals; - /** * Created by jdcasey on 12/3/15. */ diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/BuildListResponseTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/BuildListResponseTest.java index c0badecc..0a26584a 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/BuildListResponseTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/BuildListResponseTest.java @@ -18,7 +18,6 @@ import com.redhat.red.build.koji.model.xmlrpc.KojiBuildInfo; import org.junit.Test; -import java.io.ByteArrayInputStream; import java.text.SimpleDateFormat; import java.util.Arrays; import java.util.List; @@ -26,7 +25,6 @@ import static junit.framework.TestCase.assertEquals; import static org.hamcrest.CoreMatchers.equalTo; import static org.hamcrest.CoreMatchers.notNullValue; -import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; /** diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetArchiveResponseTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetArchiveResponseTest.java index 6992a939..528624f4 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetArchiveResponseTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetArchiveResponseTest.java @@ -19,10 +19,6 @@ import com.redhat.red.build.koji.model.xmlrpc.KojiChecksumType; import org.junit.Test; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertThat; diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeRequestTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeRequestTest.java index 06f1d7f2..12a95268 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeRequestTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeRequestTest.java @@ -15,7 +15,6 @@ */ package com.redhat.red.build.koji.model.xmlrpc.messages; -import static junit.framework.TestCase.assertEquals; import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeResponseTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeResponseTest.java index 70f738e9..5c1db844 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeResponseTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetBuildTypeResponseTest.java @@ -17,7 +17,6 @@ import static org.hamcrest.CoreMatchers.equalTo; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import org.junit.Test; diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetImageArchiveRequestTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetImageArchiveRequestTest.java index a95d9c3e..2db3303e 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetImageArchiveRequestTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetImageArchiveRequestTest.java @@ -16,13 +16,10 @@ package com.redhat.red.build.koji.model.xmlrpc.messages; import static org.hamcrest.CoreMatchers.equalTo; -import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import org.junit.Test; -import com.redhat.red.build.koji.model.xmlrpc.KojiIdOrName; - public class GetImageArchiveRequestTest extends AbstractKojiMessageTest { diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetMavenArchiveRequestTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetMavenArchiveRequestTest.java index 254c6ebc..5ef94e64 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetMavenArchiveRequestTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetMavenArchiveRequestTest.java @@ -21,8 +21,6 @@ import org.junit.Test; -import com.redhat.red.build.koji.model.xmlrpc.KojiIdOrName; - public class GetMavenArchiveRequestTest extends AbstractKojiMessageTest { diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetWinArchiveRequestTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetWinArchiveRequestTest.java index f9570d29..0a52faf0 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetWinArchiveRequestTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/GetWinArchiveRequestTest.java @@ -16,13 +16,10 @@ package com.redhat.red.build.koji.model.xmlrpc.messages; import static org.hamcrest.CoreMatchers.equalTo; -import static org.junit.Assert.assertNotNull; import static org.junit.Assert.assertThat; import org.junit.Test; -import com.redhat.red.build.koji.model.xmlrpc.KojiIdOrName; - public class GetWinArchiveRequestTest extends AbstractKojiMessageTest { diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ListTagsResponseTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ListTagsResponseTest.java index 93b95028..aa55f8a5 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ListTagsResponseTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/ListTagsResponseTest.java @@ -21,7 +21,6 @@ import java.util.Arrays; import static org.hamcrest.CoreMatchers.equalTo; -import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertThat; /** diff --git a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/LoginResponseTest.java b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/LoginResponseTest.java index c510d772..0fab0d61 100644 --- a/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/LoginResponseTest.java +++ b/src/test/java/com/redhat/red/build/koji/model/xmlrpc/messages/LoginResponseTest.java @@ -21,7 +21,6 @@ import java.io.ByteArrayInputStream; import static org.junit.Assert.assertEquals; -import static org.junit.Assert.assertNotNull; /** * Created by jdcasey on 12/3/15.