aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRam Koya <rk541m@att.com>2018-09-13 14:59:14 +0000
committerGerrit Code Review <gerrit@onap.org>2018-09-13 14:59:14 +0000
commitc7708c4957a822b48e14570a0695b6572eb22469 (patch)
tree4a9fb73cf4998a4f1c73b7b36bf400d7263afd4f
parent91caae9521e119b49a3b66ea55aa0ca237f8e72f (diff)
parent6f5391260c03efb6aa62261afa522331f884d97e (diff)
Merge "Added fix for null check in URLUtilities.java"
-rw-r--r--datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java
index b58ab5a0..4576bd26 100644
--- a/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java
+++ b/datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java
@@ -115,7 +115,7 @@ public class URLUtilities {
public static String generatePeerLogsURL() {
//Fixes for Itrack ticket - DATARTR-4#Fixing if only one Prov is configured, not to give exception to fill logs.
String peerPodUrl = getPeerPodName();
- if (peerPodUrl.equals("") || peerPodUrl.equals(null)) {
+ if (peerPodUrl.equals("") || peerPodUrl==null) {
return "";
}