|
64 | 64 | import static java.beans.Introspector.decapitalize; |
65 | 65 | import static java.lang.Boolean.FALSE; |
66 | 66 | import static java.util.Collections.emptyList; |
67 | | -import static java.util.Objects.requireNonNullElse; |
68 | 67 | import static java.util.stream.Collectors.toList; |
69 | 68 | import static javax.lang.model.util.ElementFilter.fieldsIn; |
70 | 69 | import static javax.lang.model.util.ElementFilter.methodsIn; |
@@ -2739,13 +2738,11 @@ private void checkParameter( |
2739 | 2738 | if ( queryParamType!=null |
2740 | 2739 | //TODO: arguments of functions get assigned "unknown" which sucks |
2741 | 2740 | && !"unknown".equals(queryParamType) ) { |
2742 | | - final String realQueryParamType = |
2743 | | - requireNonNullElse( context.qualifiedNameForEntityName( queryParamType ), queryParamType ); |
2744 | 2741 | if ( param.getName() != null ) { |
2745 | | - checkNamedParameter(param, paramNames, paramTypes, method, mirror, value, realQueryParamType); |
| 2742 | + checkNamedParameter(param, paramNames, paramTypes, method, mirror, value, queryParamType); |
2746 | 2743 | } |
2747 | 2744 | else if ( param.getPosition() != null ) { |
2748 | | - checkOrdinalParameter(param, paramNames, paramTypes, method, mirror, value, realQueryParamType); |
| 2745 | + checkOrdinalParameter(param, paramNames, paramTypes, method, mirror, value, queryParamType); |
2749 | 2746 | } |
2750 | 2747 | } |
2751 | 2748 | } |
|
0 commit comments