Skip to content

Commit

Permalink
Adjust methodcall to avoid inferrence problem on older VMs.
Browse files Browse the repository at this point in the history
  • Loading branch information
raphw committed Apr 24, 2020
1 parent 5caa2a8 commit c0f383c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ public ForRecordComponentToken(RecordComponentDescription.Token token) {
* {@inheritDoc}
*/
public ElementMatcher<? super RecordComponentDescription> resolve(TypeDescription typeDescription) {
return named(token.getName());
return ElementMatchers.<RecordComponentDescription>named(token.getName());
}
}

Expand Down

0 comments on commit c0f383c

Please sign in to comment.