Skip to content

Commit 16c60f6

Browse files
committed
apply suggestion
1 parent 06b1336 commit 16c60f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playwright/src/main/java/com/microsoft/playwright/impl/UrlMatcher.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public boolean equals(Object o) {
110110
if (glob != null) {
111111
return glob.equals(that.glob);
112112
}
113-
return true;
113+
return that.pattern == null && that.predicate == null && that.glob == null;
114114
}
115115

116116
@Override

0 commit comments

Comments
 (0)