Skip to content

Commit

Permalink
fix minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aoliaoaoaojiao committed Nov 16, 2022
1 parent 2025707 commit abdb01a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ private String parseAttr(String express) {
for (String attr : attrs) {
String field = attr.substring(0, attr.indexOf("="));
String value = attr.substring(attr.indexOf("=") + 1).replace("\"", "");
if (value.equals("visible") || value.equals("clickable")) {
if ("visible".equals(value) || "clickable".equals(value)) {
value = value.toLowerCase(Locale.ROOT);
}
result += ("@" + field + "=\"" + value + "\" and ");
Expand Down

0 comments on commit abdb01a

Please sign in to comment.