This is an automated email from the ASF dual-hosted git repository.

lewismc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-sdap-mudrod.git


The following commit(s) were added to refs/heads/master by this push:
     new b3cd3ff  SDAP-199 equals() is used for String comparison. (#50)
b3cd3ff is described below

commit b3cd3ff1d42456e95265e1baa42bb34f94d82449
Author: Furkan KAMACI <[email protected]>
AuthorDate: Wed Aug 7 19:41:49 2019 +0300

    SDAP-199 equals() is used for String comparison. (#50)
---
 .../java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java   | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git 
a/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java
 
b/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java
index 895f792..9c94dfe 100644
--- 
a/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java
+++ 
b/core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java
@@ -108,8 +108,7 @@ public class RequestUrl {
         mapRequest.put(arrSplitEqual[0], arrSplitEqual[1]);
 
       } else {
-        if (arrSplitEqual[0] != "") {
-
+        if (!arrSplitEqual[0].equals("")) {
           mapRequest.put(arrSplitEqual[0], "");
         }
       }

Reply via email to