commit | c7708c4957a822b48e14570a0695b6572eb22469 | [log] [tgz] |
---|---|---|
author | Ram Koya <rk541m@att.com> | Thu Sep 13 14:59:14 2018 +0000 |
committer | Gerrit Code Review <gerrit@onap.org> | Thu Sep 13 14:59:14 2018 +0000 |
tree | 4a9fb73cf4998a4f1c73b7b36bf400d7263afd4f | |
parent | 91caae9521e119b49a3b66ea55aa0ca237f8e72f [diff] | |
parent | 6f5391260c03efb6aa62261afa522331f884d97e [diff] |
Merge "Added fix for null check in URLUtilities.java"
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 b58ab5a..4576bd2 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 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 ""; }