AutoCloseable javadoc:
"""
However, when using facilities such as
* {@link java.util.stream.Stream} that support both I/O-based and
* non-I/O-based forms, {@code try}-with-resources blocks are in
* general unnecessary when using non-I/O-based forms.
"""
Andy
On 12/03/2021 12:09, Andy Seaborne wrote:
On 11/03/2021 22:51, Claude Warren wrote:My thought in all this was that the try with resources is now standard in Java so we should try to support it.
