Skip to content

Commit 5d97b97

Browse files
committed
Fix Google Java formatting style violations
The commit which added support for HTTP basic authentication was unfortunately missing a space character and had one newline too many, violating Google Java formatting (and making the gradle build fail). This commit fixes the violations.
1 parent 8d4ca08 commit 5d97b97

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

OCPP-J/src/main/java/eu/chargetime/ocpp/WebSocketTransmitter.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ of this software and associated documentation files (the "Software"), to deal
3434
import java.util.Base64;
3535
import java.util.HashMap;
3636
import java.util.Map;
37-
3837
import org.java_websocket.client.WebSocketClient;
3938
import org.java_websocket.drafts.Draft;
4039
import org.java_websocket.exceptions.WebsocketNotConnectedException;
@@ -67,7 +66,7 @@ public WebSocketTransmitter(Draft draft) {
6766
public void connect(String uri, RadioEvents events) {
6867
final URI resource = URI.create(uri);
6968

70-
Map<String,String> httpHeaders = new HashMap<>();
69+
Map<String, String> httpHeaders = new HashMap<>();
7170
String username = configuration.getParameter(JSONConfiguration.USERNAME_PARAMETER);
7271
String password = configuration.getParameter(JSONConfiguration.PASSWORD_PARAMETER);
7372
if (username != null && password != null) {

0 commit comments

Comments
 (0)