Browse Source

Fix compiler warnings

pull/1905/head
Rossen Stoyanchev 6 years ago
parent
commit
23bda9a5a7
  1. 5
      spring-test/src/main/java/org/springframework/test/web/reactive/server/JsonPathAssertions.java
  2. 5
      spring-test/src/main/java/org/springframework/test/web/reactive/server/XpathAssertions.java

5
spring-test/src/main/java/org/springframework/test/web/reactive/server/JsonPathAssertions.java

@ -183,4 +183,9 @@ public class JsonPathAssertions {
"to avoid being used in error instead of JsonPathAssertions#isEqualTo(String)."); "to avoid being used in error instead of JsonPathAssertions#isEqualTo(String).");
} }
@Override
public int hashCode() {
return super.hashCode();
}
} }

5
spring-test/src/main/java/org/springframework/test/web/reactive/server/XpathAssertions.java

@ -195,6 +195,11 @@ public class XpathAssertions {
"to avoid being used in error instead of XPathAssertions#isEqualTo(String)."); "to avoid being used in error instead of XPathAssertions#isEqualTo(String).");
} }
@Override
public int hashCode() {
return super.hashCode();
}
/** /**
* Lets us be able to use lambda expressions that could throw checked exceptions, since * Lets us be able to use lambda expressions that could throw checked exceptions, since

Loading…
Cancel
Save