Skip to content

Commit

Permalink
Changed HTML anchor to link tag, do the same for stderr.encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
naotoj committed Oct 22, 2024
1 parent 805365c commit c234961
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/java.base/share/classes/java/lang/System.java
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ private System() {
* corresponds to display output or another output destination
* specified by the host environment or user. The encoding used
* in the conversion from characters to bytes is equivalent to
* <a href="#stdout.encoding">stdout.encoding</a>.
* {@link ##stdout.encoding stdout.encoding}.
* <p>
* For simple stand-alone Java applications, a typical way to write
* a line of output data is:
Expand All @@ -167,7 +167,7 @@ private System() {
* @see java.io.PrintStream#println(long)
* @see java.io.PrintStream#println(java.lang.Object)
* @see java.io.PrintStream#println(java.lang.String)
* @see <a href="#stdout.encoding">stdout.encoding</a>
* @see ##stdout.encoding stdout.encoding
*/
public static final PrintStream out = null;

Expand All @@ -183,11 +183,9 @@ private System() {
* variable {@code out}, has been redirected to a file or other
* destination that is typically not continuously monitored.
* The encoding used in the conversion from characters to bytes is
* equivalent to {@link Console#charset()} if the {@code Console}
* exists, <a href="#stderr.encoding">stderr.encoding</a> otherwise.
* equivalent to {@link ##stderr.encoding stderr.encoding}.
*
* @see Console#charset()
* @see <a href="#stderr.encoding">stderr.encoding</a>
* @see ##stderr.encoding stderr.encoding
*/
public static final PrintStream err = null;

Expand Down

0 comments on commit c234961

Please sign in to comment.