platform dependent newline is a feature, to respect user platform I see your preference and agree to disagree: it's definitely a no for me on this
Le dimanche 17 janvier 2021, 18:41:33 CET Elliotte Rusty Harold a écrit : > On Sun, Jan 17, 2021 at 3:41 PM Hervé BOUTEMY <herve.bout...@free.fr> wrote: > > there is a checkError() method we should probably check before closing, > > that seems a good idea > > Remembering (and forgetting) to call an error checking method at the > right time is the unreliable anti-pattern IOException was created to > avoid. It's easier to simply avoid PrintWriter. It's not hard to add a > "\n" to method calls, and it also produces platform independent > output, unlike println(). --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org