Re: [Lang] Deprecate SystemUtils#LINE_SEPARATOR

2016-12-21 Thread Gary Gregory
On Wed, Dec 21, 2016 at 6:37 AM, Jochen Wiedmann wrote: > 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. > Seems OK. Gary

Re: [Lang] Deprecate SystemUtils#LINE_SEPARATOR

2016-12-21 Thread Jochen Wiedmann
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 wrote: > Hello everybo

[Lang] Deprecate SystemUtils#LINE_SEPARATOR

2016-12-21 Thread Pascal Schumacher
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 abou