diff options
author | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-09-06 12:57:35 +0530 |
---|---|---|
committer | Chandan Ghosh <cghosh12@in.ibm.com> | 2018-09-06 13:01:15 +0530 |
commit | 6f5391260c03efb6aa62261afa522331f884d97e (patch) | |
tree | 64aeec175a867e42bb3021315e7a955cfa0f82ca | |
parent | 079a007f29994785912ca891c58e09f755189e58 (diff) |
Added fix for null check in URLUtilities.java
Added fix for nullcheck in URLUttilities class
Issue-ID: DMAAP-726
Change-Id: If1f30fa10097e769152042e696324fc76c11efd8
Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
-rw-r--r-- | datarouter-prov/src/main/java/org/onap/dmaap/datarouter/provisioning/utils/URLUtilities.java | 2 |
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 "";
}
|