8080252: java.util.Formatter documentation of %n converter is misleading
authorsherman
Thu, 06 Aug 2015 21:56:31 +0000
changeset 32043 c02e2d8c7f9f
parent 32042 67cb76150baa
child 32044 a955c84dace6
8080252: java.util.Formatter documentation of %n converter is misleading Summary: to correct the %n ref to System.lineSeparator() Reviewed-by: smarks, rriggs
jdk/src/java.base/share/classes/java/util/Formatter.java
--- a/jdk/src/java.base/share/classes/java/util/Formatter.java	Thu Aug 06 12:35:59 2015 -0700
+++ b/jdk/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>
  *