Skip to content
Snippets Groups Projects
Commit 4894b5cd authored by George Adrian Stoica's avatar George Adrian Stoica
Browse files

chore: fix formatting + line length

parent deb3e4b0
No related branches found
No related tags found
No related merge requests found
Pipeline #190883 passed
...@@ -226,7 +226,8 @@ public class RemoteTodoModelAccess implements TodoModelAccess { ...@@ -226,7 +226,8 @@ public class RemoteTodoModelAccess implements TodoModelAccess {
@Override @Override
public void renameTodoList(String oldName, String newName) { public void renameTodoList(String oldName, String newName) {
try { try {
HttpRequest request = HttpRequest.newBuilder(todoListUri(oldName).resolve(uriParam(oldName)+"/rename")) HttpRequest request = HttpRequest.newBuilder(
todoListUri(oldName).resolve(uriParam(oldName) + "/rename"))
.header(ACCEPT_HEADER, APPLICATION_JSON) .header(ACCEPT_HEADER, APPLICATION_JSON)
.header(CONTENT_TYPE_HEADER, APPLICATION_FORM_URLENCODED) .header(CONTENT_TYPE_HEADER, APPLICATION_FORM_URLENCODED)
.POST(BodyPublishers.ofString("newName=" + uriParam(newName))) .POST(BodyPublishers.ofString("newName=" + uriParam(newName)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment