#788 - Remove redundant constructs, pre-Java 8 cruft, and superfluous exceptions.
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user