Skip to content

Commit

Permalink
[java] update name of variable to match current functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
titusfortner committed Nov 2, 2023
1 parent 1c9e702 commit 82ac41d
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,9 @@ private Capabilities readVncEndpoint(Capabilities requestedCaps, Capabilities re
// reject session requests when they cannot parse the specific capabilities (like platform or
// browser version).
private Capabilities removeCapability(Capabilities caps, String capability) {
MutableCapabilities noPlatformName = new MutableCapabilities(new HashMap<>(caps.asMap()));
noPlatformName.setCapability(capability, (String) null);
return new PersistentCapabilities(noPlatformName);
MutableCapabilities removableCaps = new MutableCapabilities(new HashMap<>(caps.asMap()));
removableCaps.setCapability(capability, (String) null);
return new PersistentCapabilities(removableCaps);
}

private Capabilities setInitialCapabilityValue(Capabilities caps, String key, Object value) {
Expand Down

0 comments on commit 82ac41d

Please sign in to comment.