Closing a {@code StringWriter} has no effect. The methods in this class can be called after the stream has been closed without generating an {@code IOException}.
See Implementation
Closing a {@code StringWriter} has no effect. The methods in this class can be called after the stream has been closed without generating an {@code IOException}.