fix dubbo ServiceParameterResolver NPE

pull/2444/head
ruansheng 3 years ago
parent c4c167b593
commit 22862402d2

@ -112,7 +112,7 @@ public abstract class AbstractNamedValueServiceParameterResolver
} }
} }
return index > -1 ? arguments[index] : null; return index != null && index > -1 ? arguments[index] : null;
} }
protected Collection<String> getNames(RestMethodMetadata restMethodMetadata, protected Collection<String> getNames(RestMethodMetadata restMethodMetadata,

Loading…
Cancel
Save