#845 - Polishing.

This commit is contained in:
Greg Turnquist
2019-03-01 09:10:59 -06:00
parent 20606fef46
commit 2f063e63c7
2 changed files with 4 additions and 2 deletions

View File

@@ -784,6 +784,8 @@ public class IanaLinkRelations {
*/
public static boolean isIanaRel(LinkRelation relation) {
Assert.notNull(relation, "Link relation must not be null!");
return LINK_RELATIONS.stream() //
.anyMatch(it -> it.value().equalsIgnoreCase(relation.value()));