Merge "removing Conor Ward as committer from INFO.yaml per his resignation as committ...
[dmaap/datarouter.git] / datarouter-prov / src / main / java / org / onap / dmaap / datarouter / provisioning / beans / BaseLogRecord.java
index 8cb4c15..2d3aacf 100644 (file)
@@ -58,12 +58,12 @@ public class BaseLogRecord implements LOGJSONable, Loadable {
         this.eventTime     = dt.getTime();\r
         this.publishId     = pp[2];\r
         this.feedid        = Integer.parseInt(pp[3]);\r
-        if (pp[1].equals("DLX")) {\r
+        if ("DLX".equals(pp[1])) {\r
             this.requestUri    = "";\r
             this.method        = "GET";    // Note: we need a valid value in this field, even though unused\r
             this.contentType   = "";\r
             this.contentLength = Long.parseLong(pp[5]);\r
-        } else  if (pp[1].equals("PUB") || pp[1].equals("LOG") || pp[1].equals("PBF")) {\r
+        } else  if ("PUB".equals(pp[1]) || "LOG".equals(pp[1]) || "PBF".equals(pp[1])) {\r
             this.requestUri    = pp[4];\r
             this.method        = pp[5];\r
             this.contentType   = pp[6];\r