Skip to content

Commit 6cb8a0b

Browse files
committed
style: Apply Google Java Formatter to GetDataHandler
1 parent 6fae772 commit 6cb8a0b

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/test/java/com/retailsvc/http/start/GetDataHandler.java

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,13 @@ public void handle(HttpExchange exchange) throws IOException {
1717
LOG.debug("GET /data");
1818

1919
try (exchange) {
20-
byte[] bytes = """
21-
{
22-
"id": "some-id"
23-
}""".getBytes();
20+
byte[] bytes =
21+
"""
22+
{
23+
"id": "some-id"
24+
}\
25+
"""
26+
.getBytes();
2427
try (var os = exchange.getResponseBody()) {
2528
var responseHeaders = exchange.getResponseHeaders();
2629
responseHeaders.add("content-type", "application/json");

0 commit comments

Comments
 (0)