How about we change LINE_SEPARATOR instead to be initialized via
System.lineSeparator instead, so that it cannot be null instead? From
reading System.initializeSystemClass(), my guess is they are the same
anyways.

Jochen


On Wed, Dec 21, 2016 at 11:48 AM, Pascal Schumacher
<[email protected]> wrote:
> Hello everybody,
>
> what about deprecating SystemUtils#LINE_SEPARATOR in favor of
> System#lineSeparator?
>
> I suggest we deprecated it with the following explanation:
>
> "Use {@link System#lineSeparator} instead, since it can not be null and does
> not require a privilege check." (I'm not 100% sure about the null part, but
> did not find any information contradicting it.)
>
> What do you think?
>
> Thanks,
>
> Pascal
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
The next time you hear: "Don't reinvent the wheel!"

http://www.keystonedevelopment.co.uk/wp-content/uploads/2014/10/evolution-of-the-wheel-300x85.jpg

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to