mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-06 18:18:22 +00:00
Add @SuppressWarnings
This commit is contained in:
parent
30428e5f99
commit
b5e6e213e3
@ -92,6 +92,7 @@ public final String translate(final CharSequence input) {
|
||||
* @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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user