#788 - Remove redundant constructs, pre-Java 8 cruft, and superfluous exceptions.

This commit is contained in:
Greg Turnquist
2019-01-18 10:40:22 -06:00
parent e9074c5d52
commit 5725794a8e
30 changed files with 85 additions and 102 deletions

View File

@@ -147,7 +147,7 @@ class Rels {
*/
@Override
public Link findInResponse(String representation, MediaType mediaType) {
return new Link(JsonPath.<Object> read(representation, jsonPath).toString(), rel);
return new Link(JsonPath.read(representation, jsonPath).toString(), rel);
}
}
}