aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-06-05 13:44:20 -0700
committerPatrick Brady <pb071s@att.com>2017-06-05 13:46:18 -0700
commit066f0952fe86462e3069bb8d5bfdb3e0ed839fe2 (patch)
tree6a00d2c5462583b06b12f239ab005ad80359ef91
parentc7d0075d223eab9f89fd28853c4b138792059be9 (diff)
Fixing logic in an if statement
Change-Id: Ibc50b5e56953ce6ceed11b21e9d2042d5a540cad Signed-off-by: Patrick Brady <pb071s@att.com>
-rw-r--r--appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/main/java/org/openecomp/appc/adapter/messaging/dmaap/http/HttpDmaapConsumerImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/main/java/org/openecomp/appc/adapter/messaging/dmaap/http/HttpDmaapConsumerImpl.java b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/main/java/org/openecomp/appc/adapter/messaging/dmaap/http/HttpDmaapConsumerImpl.java
index 2145eaa70..7252a4c10 100644
--- a/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/main/java/org/openecomp/appc/adapter/messaging/dmaap/http/HttpDmaapConsumerImpl.java
+++ b/appc-adapters/appc-dmaap-adapter/appc-dmaap-adapter-bundle/src/main/java/org/openecomp/appc/adapter/messaging/dmaap/http/HttpDmaapConsumerImpl.java
@@ -138,7 +138,7 @@ public class HttpDmaapConsumerImpl extends CommonHttpClient implements Consumer
@Override
public String toString() {
- String hostStr = (urls == null && !urls.isEmpty()) ? "N/A" : urls.get(0);
+ String hostStr = (urls == null || urls.isEmpty()) ? "N/A" : urls.get(0);
return String.format("Consumer listening to [%s]", hostStr);
}