MCPcopy Index your code
hub / github.com/OpenFeign/feign / equalsExtended

Method equalsExtended

mock/src/main/java/feign/mock/RequestKey.java:169–180  ·  view source on GitHub ↗
(Object obj)

Source from the content-addressed store, hash-verified

167 }
168
169 public boolean equalsExtended(Object obj) {
170 if (equals(obj)) {
171 RequestKey other = (RequestKey) obj;
172 boolean headersEqual =
173 other.headers == null || headers == null || headers.equals(other.headers);
174 boolean charsetEqual =
175 other.charset == null || charset == null || charset.equals(other.charset);
176 boolean bodyEqual = other.body == null || body == null || Arrays.equals(other.body, body);
177 return headersEqual && charsetEqual && bodyEqual;
178 }
179 return false;
180 }
181
182 @Override
183 public String toString() {

Callers 4

executeSequentialMethod · 0.45
getResponseBuilderMethod · 0.45
verifyTimesMethod · 0.45
verifyNeverMethod · 0.45

Calls 1

equalsMethod · 0.95

Tested by

no test coverage detected