This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-lang.git
The following commit(s) were added to refs/heads/master by this push: new b5e6e213e Add @SuppressWarnings b5e6e213e is described below commit b5e6e213e3b06406b944a335b3951b05a755dce8 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Thu May 23 09:25:39 2024 -0400 Add @SuppressWarnings --- .../org/apache/commons/lang3/text/translate/CharSequenceTranslator.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java b/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java index 677c0e1b3..8dbff38b5 100644 --- a/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java +++ b/src/main/java/org/apache/commons/lang3/text/translate/CharSequenceTranslator.java @@ -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) {