Why in this classes (StringWriter, PrintWriter) method close has no effect as it mentioned in javadoc?
StringWriter
PrintWriter
close
I understand that the simple not implemented I suppose. But why?
StringWriter doesnt have any resources on the file system unlike PrintWriter. It's close method just exists to satisfy the Closable interface.
Closable
1.4m articles
1.4m replys
5 comments
57.0k users