Skip to content

Commit 70daf4e

Browse files
committed
code review for springdoc#1706
1 parent ede1c6d commit 70daf4e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

springdoc-openapi-common/src/main/java/org/springdoc/core/fn/RouterOperation.java

+2
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,7 @@ public boolean equals(Object o) {
437437
Arrays.equals(consumes, that.consumes) &&
438438
Arrays.equals(produces, that.produces) &&
439439
Arrays.equals(headers, that.headers) &&
440+
Arrays.equals(params, that.params) &&
440441
Objects.equals(beanClass, that.beanClass) &&
441442
Objects.equals(beanMethod, that.beanMethod) &&
442443
Arrays.equals(parameterTypes, that.parameterTypes) &&
@@ -449,6 +450,7 @@ public boolean equals(Object o) {
449450
public int hashCode() {
450451
int result = Objects.hash(path, beanClass, beanMethod, queryParams, operation, operationModel);
451452
result = 31 * result + Arrays.hashCode(methods);
453+
result = 31 * result + Arrays.hashCode(params);
452454
result = 31 * result + Arrays.hashCode(consumes);
453455
result = 31 * result + Arrays.hashCode(produces);
454456
result = 31 * result + Arrays.hashCode(headers);

0 commit comments

Comments
 (0)