remove extraneous ArrayList wrapper from ops key
This commit is contained in:
parent
250f14e2f4
commit
a53f7db25e
1 changed files with 1 additions and 2 deletions
|
@ -704,8 +704,7 @@ public final class Capability {
|
|||
if (redirect != null) {
|
||||
return redirect.getPipelinedCap(ops);
|
||||
}
|
||||
|
||||
var key = new ArrayList<>(Arrays.asList(ops));
|
||||
var key = Arrays.asList(ops);
|
||||
return this.clientMap.computeIfAbsent(key,
|
||||
k -> new QueuedClient(this.promise.thenApply(
|
||||
pipeline -> pipeline.getPipelinedCap(ops))));
|
||||
|
|
Loading…
Reference in a new issue