From df91e73083b79cda66257fb4326caefb11a0439b Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Tue, 19 Oct 2021 13:23:16 +0200 Subject: [PATCH] =?UTF-8?q?#1690=20-=20Fix=20Javadoc=20in=20LinkDiscoverer?= =?UTF-8?q?findLinkWithRel(=E2=80=A6).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../springframework/hateoas/client/LinkDiscoverer.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/springframework/hateoas/client/LinkDiscoverer.java b/src/main/java/org/springframework/hateoas/client/LinkDiscoverer.java index 1bca08c3..96d3e2e5 100644 --- a/src/main/java/org/springframework/hateoas/client/LinkDiscoverer.java +++ b/src/main/java/org/springframework/hateoas/client/LinkDiscoverer.java @@ -34,21 +34,21 @@ public interface LinkDiscoverer extends Plugin { /** * Finds a single link with the given {@link LinkRelation} in the given {@link String} representation. * - * @param rel must not be {@literal null}. + * @param relation must not be {@literal null}. * @param representation must not be {@literal null}. * @return the first link with the given relation type found, or {@link Optional#empty()} if none was found. */ - Optional findLinkWithRel(LinkRelation rel, String representation); + Optional findLinkWithRel(LinkRelation relation, String representation); /** * Finds a single link with the given relation type in the given {@link String} representation. * - * @param rel must not be {@literal null} or empty. + * @param relation must not be {@literal null} or empty. * @param representation must not be {@literal null}. * @return the first {@link Link} with the given link relation found, or {@link Optional#empty()} if none was found. */ - default Optional findLinkWithRel(String rel, String representation) { - return findLinkWithRel(LinkRelation.of(rel), representation); + default Optional findLinkWithRel(String relation, String representation) { + return findLinkWithRel(LinkRelation.of(relation), representation); } /**