MCPcopy Create free account
hub / github.com/ORCID/orcid-model / hashCode

Method hashCode

src/main/java/org/orcid/jaxb/model/message/Source.java:159–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157 }
158
159 @Override
160 public int hashCode() {
161 final int prime = 31;
162 int result = 1;
163 result = prime * result + ((sourceClientId == null) ? 0 : sourceClientId.hashCode());
164 result = prime * result + ((sourceOrcid == null) ? 0 : sourceOrcid.hashCode());
165 return result;
166 }
167
168 @Override
169 public boolean equals(Object obj) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected