Skip to content

Commit

Permalink
Polish "Reuse ResolvableType in getDependencyType"
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Dec 21, 2021
1 parent b69ab8d commit f1fe16e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public Class<?> getDependencyType() {
if (this.field != null) {
if (this.nestingLevel > 1) {
Class<?> clazz = getResolvableType().getRawClass();
return clazz != null ? clazz : Object.class;
return (clazz != null ? clazz : Object.class);
}
else {
return this.field.getType();
Expand Down

0 comments on commit f1fe16e

Please sign in to comment.