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

Method equals

java/src/org/openqa/selenium/grid/data/Session.java:93–101  ·  view source on GitHub ↗
(Object that)

Source from the content-addressed store, hash-verified

91 }
92
93 @Override
94 public boolean equals(Object that) {
95 if (!(that instanceof Session)) {
96 return false;
97 }
98
99 Session session = (Session) that;
100 return Objects.equals(id, session.getId()) && Objects.equals(uri, session.getUri());
101 }
102
103 @Override
104 public int hashCode() {

Callers

nothing calls this directly

Calls 2

getIdMethod · 0.95
getUriMethod · 0.95

Tested by

no test coverage detected