Skip to content

Commit b3cd3ff

Browse files
kamacilewismc
authored andcommitted
SDAP-199 equals() is used for String comparison. (#50)
1 parent 7a59ec4 commit b3cd3ff

File tree

1 file changed

+1
-2
lines changed
  • core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log

1 file changed

+1
-2
lines changed

core/src/main/java/org/apache/sdap/mudrod/weblog/structure/log/RequestUrl.java

+1-2
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ private static Map<String, String> uRLRequest(String URL) {
108108
mapRequest.put(arrSplitEqual[0], arrSplitEqual[1]);
109109

110110
} else {
111-
if (arrSplitEqual[0] != "") {
112-
111+
if (!arrSplitEqual[0].equals("")) {
113112
mapRequest.put(arrSplitEqual[0], "");
114113
}
115114
}

0 commit comments

Comments
 (0)