Add @SuppressWarnings

This commit is contained in:
Gary Gregory 2024-05-23 09:25:39 -04:00
parent 30428e5f99
commit b5e6e213e3
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ public abstract class CharSequenceTranslator {
* @param writer Writer to translate the text to
* @throws IOException if and only if the Writer produces an IOException
*/
@SuppressWarnings("resource") // Caller closes writer
public final void translate(final CharSequence input, final Writer writer) throws IOException {
Objects.requireNonNull(writer, "writer");
if (input == null) {