Fix completion
This commit is contained in:
@@ -109,9 +109,11 @@ public class StandardParameterResolver implements ParameterResolver {
|
||||
}
|
||||
|
||||
@Override
|
||||
public ValueResult resolve(MethodParameter methodParameter, List<String> words) {
|
||||
public ValueResult resolve(MethodParameter methodParameter, List<String> wordsBuffer) {
|
||||
String prefix = prefixForMethod(methodParameter.getMethod());
|
||||
|
||||
List<String> words = wordsBuffer.stream().filter(w -> !w.isEmpty()).collect(Collectors.toList());
|
||||
|
||||
CacheKey cacheKey = new CacheKey(methodParameter.getMethod(), words);
|
||||
Map<Parameter, ParameterRawValue> resolved = parameterCache.computeIfAbsent(cacheKey, (k) -> {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user