Mercurial > hg > jdk9-shenandoah > jdk
changeset 12529:7fd081100f48 jdk9-b77
8080252: java.util.Formatter documentation of %n converter is misleading
Summary: to correct the %n ref to System.lineSeparator()
Reviewed-by: smarks, rriggs
author | sherman |
---|---|
date | Thu, 06 Aug 2015 21:56:31 +0000 |
parents | e7322cd334af |
children | f9e4e49fba56 a068ce0953bc |
files | src/java.base/share/classes/java/util/Formatter.java |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/java.base/share/classes/java/util/Formatter.java Thu Aug 06 12:35:59 2015 -0700 +++ b/src/java.base/share/classes/java/util/Formatter.java Thu Aug 06 21:56:31 2015 +0000 @@ -1772,7 +1772,7 @@ * * <tr><td valign="top">{@code 'n'} * <td> the platform-specific line separator as returned by {@link - * System#getProperty System.getProperty("line.separator")}. + * System#lineSeparator()}. * * </table> *