RFR 8198645 Use System.lineSeparator() instead of getProperty("line.separator")

Lance Andersen lance.andersen at oracle.com
Fri Feb 23 19:42:26 UTC 2018


Looks good Roger


> On Feb 23, 2018, at 2:39 PM, Roger Riggs <Roger.Riggs at oracle.com> wrote:
> 
> 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
> 
> 

 <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif> <http://oracle.com/us/design/oracle-email-sig-198324.gif>
 <http://oracle.com/us/design/oracle-email-sig-198324.gif>Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
Lance.Andersen at oracle.com <mailto:Lance.Andersen at oracle.com>





More information about the core-libs-dev mailing list