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) {
|
if (redirect != null) {
|
||||||
return redirect.getPipelinedCap(ops);
|
return redirect.getPipelinedCap(ops);
|
||||||
}
|
}
|
||||||
|
var key = Arrays.asList(ops);
|
||||||
var key = new ArrayList<>(Arrays.asList(ops));
|
|
||||||
return this.clientMap.computeIfAbsent(key,
|
return this.clientMap.computeIfAbsent(key,
|
||||||
k -> new QueuedClient(this.promise.thenApply(
|
k -> new QueuedClient(this.promise.thenApply(
|
||||||
pipeline -> pipeline.getPipelinedCap(ops))));
|
pipeline -> pipeline.getPipelinedCap(ops))));
|
||||||
|
|
Loading…
Reference in a new issue