< prev index next >

src/java.base/share/classes/java/io/PrintWriter.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -702,12 +702,13 @@
 
     /* Methods that do terminate lines */
 
     /**
      * Terminates the current line by writing the line separator string.  The
-     * line separator is {@link System#lineSeparator()} and is not necessarily
-     * a single newline character ({@code '\n'}).
+     * line separator string is defined by the system property
+     * {@code line.separator}, and is not necessarily a single newline
+     * character ({@code '\n'}).
      */
     public void println() {
         newLine();
     }
 
< prev index next >