From 809b5ca7702ed6e63f0a827072b4c787184ad0e2 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 10 Dec 2021 10:37:15 +0100 Subject: [PATCH] #1729 - Polishing. --- .../org/springframework/hateoas/mediatype/PropertyUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java b/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java index 063a5a00..17799eeb 100644 --- a/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java +++ b/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java @@ -135,7 +135,7 @@ public class PropertyUtils { return METADATA_CACHE.computeIfAbsent(type, it -> { - ResolvableType domainType = unwrapDomainType(type); + ResolvableType domainType = unwrapDomainType(it); Class resolved = domainType.resolve(Object.class); return Object.class.equals(resolved) //