MCPcopy Create free account
hub / github.com/apache/sirona / equals

Method equals

api/src/main/java/org/apache/sirona/counters/Unit.java:198–212  ·  view source on GitHub ↗

@see java.lang.Object#equals(java.lang.Object)

(Object obj)

Source from the content-addressed store, hash-verified

196 */
197
198 public boolean equals(Object obj) {
199 if (this == obj)
200 return true;
201 if (obj == null)
202 return false;
203 if (getClass() != obj.getClass())
204 return false;
205 final Unit other = (Unit) obj;
206 if (name == null) {
207 if (other.name != null)
208 return false;
209 } else if (!name.equals(other.name))
210 return false;
211 return true;
212 }
213
214}

Callers 5

autoSetMethod · 0.45
convertToMethod · 0.45
findUrlsMethod · 0.45
toFileMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected