From a3c96e3641626030aee37e8268954a4e579eb164 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Fri, 10 Dec 2021 10:37:15 +0100 Subject: [PATCH] #1732 - 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 fcda4f31..421816fe 100644 --- a/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java +++ b/src/main/java/org/springframework/hateoas/mediatype/PropertyUtils.java @@ -132,7 +132,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) //