RFR 8198645 Use System.lineSeparator() instead of getProperty("line.separator")
Roger Riggs
Roger.Riggs at Oracle.com
Fri Feb 23 19:39:07 UTC 2018
Please review cleanup replacements of
System.getProperty("line.separator") with System.lineSeparator().
It uses the line separator from System instead of looking it up in the
properties each time.
Also fixed one javadoc @see reference.
The affected files are in several packages:
com/sun/crypto/provider/
java/util/regex/
jdk/internal/util/xml/impl/
Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-line-separator-8198645/
Thanks, Roger
More information about the core-libs-dev
mailing list