Skip to content

Commit

Permalink
No logical changes: removing unnecessary generic declarations
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Apr 3, 2017
1 parent 785fddf commit 48a1c7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions java/client/src/org/openqa/selenium/remote/Command.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class Command {
private Map<String, ?> parameters;

public Command(SessionId sessionId, String name) {
this(sessionId, name, new HashMap<String, Object>());
this(sessionId, name, new HashMap<>());
}

public Command(SessionId sessionId, String name, Map<String, ?> parameters) {
Expand All @@ -45,7 +45,7 @@ public String getName() {
}

public Map<String, ?> getParameters() {
return parameters == null ? new HashMap<String, Object>() : parameters;
return parameters == null ? new HashMap<>() : parameters;
}

@Override
Expand Down

0 comments on commit 48a1c7b

Please sign in to comment.