SpringSource/spring-framework — pull request #180 by stuartgunter (2012-11-08 11:21:06+00:00)
Title: Implement java.io.Closeable

Implement ```java.io.Closeable``` to allow:

- automatic invocation of the ```close()``` method when used within
try-with-resources blocks

- usage with Apache Commons' ```IOUtils.closeQuietly()``` and
Google Guava's ```Closeables.closeQuietly()```

Issue: SPR-9962

This was created as a minor improvement that is generally applicable to anyone using the utilities described above or developing in Java 7 using try-with-resources. There is no behavioural change, nor any source or binary incompatibility - only the addition of the ```java.io.Closeable``` interface to existing interfaces that already define a ```close()``` method with the same semantics as those described by ```Closeable```.

I have signed and agree to the terms of the SpringSource Individual
Contributor License Agreement.