summaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorsawantmandar <ms5838@att.com>2019-01-18 14:59:33 -0600
committersawantmandar <ms5838@att.com>2019-01-18 15:15:42 -0600
commit844dfc285307a6ec1772ef3e741c109fd567f2c3 (patch)
treebcca2f48852a42d3a7b0a2c98570c79d1a31cde5 /src/main/java
parent917ad05e95a80991f06f0d79a09154d9d696a681 (diff)
removing unused imports from src and test classes
Change-Id: I9d6ea81ca5ad34505bfb540658e063c83e7353de Signed-off-by: sawantmandar <ms5838@att.com> Issue-ID: DMAAP-975
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/org/onap/dmaap/mr/dme/client/HeaderReplyHandler.java9
-rw-r--r--src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteReplyHandler.java1
-rw-r--r--src/main/java/org/onap/dmaap/mr/dme/client/SimpleExamplePublisher.java7
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java1
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisher.java1
-rw-r--r--src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisherWithResponse.java2
-rw-r--r--src/main/java/org/onap/dmaap/mr/tools/MessageCommand.java1
7 files changed, 1 insertions, 21 deletions
diff --git a/src/main/java/org/onap/dmaap/mr/dme/client/HeaderReplyHandler.java b/src/main/java/org/onap/dmaap/mr/dme/client/HeaderReplyHandler.java
index da0ba62..9197ca4 100644
--- a/src/main/java/org/onap/dmaap/mr/dme/client/HeaderReplyHandler.java
+++ b/src/main/java/org/onap/dmaap/mr/dme/client/HeaderReplyHandler.java
@@ -22,8 +22,6 @@
package org.onap.dmaap.mr.dme.client;
-import java.util.Map;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -31,13 +29,8 @@ import com.att.aft.dme2.api.util.DME2ExchangeFaultContext;
import com.att.aft.dme2.api.util.DME2ExchangeReplyHandler;
import com.att.aft.dme2.api.util.DME2ExchangeResponseContext;
import org.onap.dmaap.mr.client.MRClientFactory;
-import org.onap.dmaap.mr.client.impl.MRSimplerBatchPublisher;
-
-
-
-
- public class HeaderReplyHandler implements DME2ExchangeReplyHandler {
+public class HeaderReplyHandler implements DME2ExchangeReplyHandler {
private Logger fLog = LoggerFactory.getLogger ( this.getClass().getName () );
diff --git a/src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteReplyHandler.java b/src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteReplyHandler.java
index 967ccf3..70e0d1b 100644
--- a/src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteReplyHandler.java
+++ b/src/main/java/org/onap/dmaap/mr/dme/client/PreferredRouteReplyHandler.java
@@ -22,7 +22,6 @@
package org.onap.dmaap.mr.dme.client;
import java.io.File;
import java.io.FileWriter;
-import java.io.InputStream;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
diff --git a/src/main/java/org/onap/dmaap/mr/dme/client/SimpleExamplePublisher.java b/src/main/java/org/onap/dmaap/mr/dme/client/SimpleExamplePublisher.java
index edb3994..de0d461 100644
--- a/src/main/java/org/onap/dmaap/mr/dme/client/SimpleExamplePublisher.java
+++ b/src/main/java/org/onap/dmaap/mr/dme/client/SimpleExamplePublisher.java
@@ -24,18 +24,11 @@ package org.onap.dmaap.mr.dme.client;
import java.io.IOException;
-import java.util.List;
import java.util.Map;
-
-import java.util.concurrent.TimeUnit;
-
import javax.ws.rs.core.MultivaluedMap;
-
import org.json.JSONObject;
-
import org.onap.dmaap.mr.client.MRBatchingPublisher;
import org.onap.dmaap.mr.client.MRClientFactory;
-import org.onap.dmaap.mr.client.MRPublisher.message;
/**
* An example of how to use the Java publisher.
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java b/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
index 29d7f85..5f8768c 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/SamplePublisher.java
@@ -30,7 +30,6 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.onap.dmaap.mr.client.MRBatchingPublisher;
-import org.onap.dmaap.mr.client.MRClientFactory;
import org.onap.dmaap.mr.client.MRClientBuilders.PublisherBuilder;
import org.onap.dmaap.mr.client.MRPublisher.message;
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisher.java b/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisher.java
index 770d916..50fd22c 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisher.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisher.java
@@ -26,7 +26,6 @@ import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
-import java.io.PrintWriter;
import java.util.List;
import java.util.Properties;
import java.util.concurrent.TimeUnit;
diff --git a/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisherWithResponse.java b/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisherWithResponse.java
index 33d1164..d2b77ef 100644
--- a/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisherWithResponse.java
+++ b/src/main/java/org/onap/dmaap/mr/test/clients/SimpleExamplePublisherWithResponse.java
@@ -24,9 +24,7 @@ import java.io.File;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
-import java.util.List;
import java.util.Properties;
-import java.util.concurrent.TimeUnit;
import org.json.JSONObject;
import org.onap.dmaap.mr.client.MRBatchingPublisher;
import org.onap.dmaap.mr.client.MRClientFactory;
diff --git a/src/main/java/org/onap/dmaap/mr/tools/MessageCommand.java b/src/main/java/org/onap/dmaap/mr/tools/MessageCommand.java
index 5016c95..451aed5 100644
--- a/src/main/java/org/onap/dmaap/mr/tools/MessageCommand.java
+++ b/src/main/java/org/onap/dmaap/mr/tools/MessageCommand.java
@@ -34,7 +34,6 @@ import com.att.nsa.cmdtool.CommandNotReadyException;
import org.onap.dmaap.mr.client.MRBatchingPublisher;
import org.onap.dmaap.mr.client.MRClientFactory;
import org.onap.dmaap.mr.client.MRConsumer;
-import org.onap.dmaap.mr.client.MRClientBuilders.PublisherBuilder;
import org.onap.dmaap.mr.client.MRPublisher.message;
public class MessageCommand implements Command<MRCommandContext>