MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / matches

Method matches

java/src/org/openqa/selenium/grid/security/Secret.java:31–37  ·  view source on GitHub ↗
(Secret first, Secret second)

Source from the content-addressed store, hash-verified

29 }
30
31 public static boolean matches(Secret first, Secret second) {
32 if (first == null) {
33 return second == null;
34 }
35
36 return first.matches(second);
37 }
38
39 public boolean matches(Secret other) {
40 if (other == null) {

Callers 1

runMethod · 0.95

Calls 2

matchesMethod · 0.65
equalsMethod · 0.45

Tested by

no test coverage detected