This refs #626 (comment).
Prettier-Java 2.7.5
Input:
git.remoteAdd()
.setName(remoteName)
.setUri(new URIish(headRepoCloneUrl))
.call();
Output:
git
.remoteAdd()
.setName(remoteName)
.setUri(new URIish(headRepoCloneUrl))
.call();
Expected behavior:
Dots are aligned - and first method call directly after variable.
Similar:
- .filter(r -> r.getURIs().stream().anyMatch(uri -> uri.toString().contains("JabRef/jabref")))
+ .filter(r ->
+ r
+ .getURIs()
+ .stream()
+ .anyMatch(uri ->
+ uri.toString().contains("JabRef/jabref")
+ )
+ )
It should be r.getURIs() and then .stream() in the next line.
This refs #626 (comment).
Prettier-Java 2.7.5
Input:
Output:
Expected behavior:
Dots are aligned - and first method call directly after variable.
Similar:
It should be
r.getURIs()and then.stream()in the next line.