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

Method equals

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

Source from the content-addressed store, hash-verified

147 }
148
149 @Override
150 public boolean equals(Object obj) {
151 if (this == obj) {
152 return true;
153 }
154 if (obj == null) {
155 return false;
156 }
157 if (getClass() != obj.getClass()) {
158 return false;
159 }
160 final RequestKey other = (RequestKey) obj;
161 if (method != other.method) {
162 return false;
163 }
164 if (url == null) {
165 return other.url == null;
166 } else return url.equals(other.url);
167 }
168
169 public boolean equalsExtended(Object obj) {
170 if (equals(obj)) {

Callers 7

equalsExtendedMethod · 0.95
doesMetricIncludeVerbMethod · 0.45
doesMetricIncludeHostMethod · 0.45
getMetricMethod · 0.45
doesMetricIncludeUriMethod · 0.45
doesMetricHasCounterMethod · 0.45
getMetricCounterMethod · 0.45

Calls

no outgoing calls

Tested by 6

doesMetricIncludeVerbMethod · 0.36
doesMetricIncludeHostMethod · 0.36
getMetricMethod · 0.36
doesMetricIncludeUriMethod · 0.36
doesMetricHasCounterMethod · 0.36
getMetricCounterMethod · 0.36