|
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;
|
@@ -2741,13 +2740,11 @@ private void checkParameter(
|
2741 | 2740 | if ( queryParamType!=null
|
2742 | 2741 | //TODO: arguments of functions get assigned "unknown" which sucks
|
2743 | 2742 | && !"unknown".equals(queryParamType) ) {
|
2744 |
| - final String realQueryParamType = |
2745 |
| - requireNonNullElse( context.qualifiedNameForEntityName( queryParamType ), queryParamType ); |
2746 | 2743 | if ( param.getName() != null ) {
|
2747 |
| - checkNamedParameter(param, paramNames, paramTypes, method, mirror, value, realQueryParamType); |
| 2744 | + checkNamedParameter(param, paramNames, paramTypes, method, mirror, value, queryParamType); |
2748 | 2745 | }
|
2749 | 2746 | else if ( param.getPosition() != null ) {
|
2750 |
| - checkOrdinalParameter(param, paramNames, paramTypes, method, mirror, value, realQueryParamType); |
| 2747 | + checkOrdinalParameter(param, paramNames, paramTypes, method, mirror, value, queryParamType); |
2751 | 2748 | }
|
2752 | 2749 | }
|
2753 | 2750 | }
|
|
0 commit comments