On 27.10.2015, at 11:17, Nigel Magnay <[email protected]> wrote:
> The example I gave is hardly conjured-up. Fluent APIs are all over the place.
> Here's a docker-plugin example
>
> String tag_image = client.commitCmd(containerId)
>
> .withRepository(theRun.getParent().getDisplayName())
>
> .withTag(theRun.getDisplayName().replace("#", "b"))
> .withAuthor("Jenkins")
> .exec();
> becomes
>
> String tag_image =
> client.commitCmd(containerId).withRepository(theRun.getParent().getDisplayName())
>
> .withTag(theRun.getDisplayName().replace("#",
> "b")).withAuthor("Jenkins").exec();
>
All of your examples so far are formatters unwrapping manually wrapped lines.
I have a difficult time imagining this is something that cannot trivially be
disabled in an auto-formatter. We could easily make this a criterion for any
code formatter we choose.
What other specific changes do you object to?
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/56F03D5C-6965-4C23-83BF-EFC46E66FB1D%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.