8328183: Minor mistakes in docs of PrintStream.append()

Reviewed-by: iris, naoto
This commit is contained in:
Brian Burkhalter 2024-04-05 16:08:16 +00:00
parent 4a11db8b60
commit 040c93565c
5 changed files with 16 additions and 12 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2024, 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
@ -126,7 +126,8 @@ public class StringWriter extends Writer {
* Appends the specified character sequence to this writer.
*
* <p> An invocation of this method of the form {@code out.append(csq)}
* behaves in exactly the same way as the invocation
* when {@code csq} is not {@code null}, behaves in exactly the same way
* as the invocation
*
* {@snippet lang=java :
* out.write(csq.toString())