Skip to content

Commit a4df332

Browse files
committed
java: Reusing existing named constant instead of a literal value
1 parent 7aad11d commit a4df332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: java/client/src/org/openqa/selenium/firefox/internal/MarionetteConnection.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private String serializeCommand(Command command) {
256256
|| DriverCommand.MOVE_TO.equals(commandName)) {
257257
String actionName = seleniumToMarionetteCommandMap.containsKey(commandName) ?
258258
seleniumToMarionetteCommandMap.get(commandName) : commandName;
259-
commandName = "actionChain";
259+
commandName = DriverCommand.ACTION_CHAIN;
260260
List<Object> action = Lists.newArrayList();
261261
action.add(actionName);
262262
if (params.containsKey("element")) {

0 commit comments

Comments
 (0)