Skip to content

Commit 0d01b2e

Browse files
author
Kevin Hellemun
committed
Shorten long lines. (#42)
1 parent 55ee18b commit 0d01b2e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

src/main/java/com/bunq/sdk/model/core/DeviceServerInternal.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,23 @@
1010
import java.util.List;
1111

1212
public class DeviceServerInternal extends DeviceServer {
13-
public static BunqResponse<Integer> create(ApiContext apiContext, String description, String secret, List<String> permittedIps) {
13+
public static BunqResponse<Integer> create(
14+
ApiContext apiContext,
15+
String description,
16+
String secret,
17+
List<String> permittedIps
18+
) {
1419
ApiClient apiClient = new ApiClient(apiContext);
1520
HashMap<String, Object> requestMap = new HashMap<>();
1621
requestMap.put(FIELD_DESCRIPTION, description);
1722
requestMap.put(FIELD_SECRET, secret);
1823
requestMap.put(FIELD_PERMITTED_IPS, permittedIps);
1924
byte[] requestBytes = gson.toJson(requestMap).getBytes();
20-
BunqResponseRaw responseRaw = apiClient.post(ENDPOINT_URL_CREATE, requestBytes, new HashMap<String, String>());
25+
BunqResponseRaw responseRaw = apiClient.post(
26+
ENDPOINT_URL_CREATE,
27+
requestBytes,
28+
new HashMap<String, String>()
29+
);
2130

2231
return processForId(responseRaw);
2332
}

0 commit comments

Comments
 (0)