Merge "Fix all blocker sonar issues and some checkstyle"
[aai/aai-common.git] / aai-els-onap-logging / src / main / java / org / onap / aai / util / AAIConfig.java
index 8d3e2cc..2428f1e 100644 (file)
@@ -58,7 +58,7 @@ public class AAIConfig {
         AAIConfig.getConfigFile();
         AAIConfig.reloadConfig();
 
-        if (AAIConstants.AAI_NODENAME == null || AAIConstants.AAI_NODENAME == "") {
+        if (AAIConstants.AAI_NODENAME == null || AAIConstants.AAI_NODENAME.equals("")) {
             ErrorLogHelper.logError("AAI_4005", " AAI_NODENAME is not defined");
         } else {
             LOGGER.info("A&AI Server Node Name = " + AAIConstants.AAI_NODENAME);