[Geoserver-devel] [JIRA] (GEOS-7153) Closing Resources OutputStream bug

Jody Garnett [Administrator] created an issue

GeoServer / BugGEOS-7153

Closing Resources OutputStream bug

Issue Type:

BugBug

Assignee:

Unassigned

Created:

12/Aug/15 1:18 AM

Priority:

MediumMedium

Reporter:

Jody Garnett [Administrator]

From github 1176(https://github.com/geoserver/geoserver/pull/1176)::slight_smile:

According to the Closeable API (http://docs.oracle.com/javase/7/docs/api/java/io/Closeable.html#close%28%29 ) the close method should not throw (or cause, in this case) an exception when called on an already closed resource. The FileSystemResource and ResourceWrapper do do this.

The pull request also includes the request to make Resource.delete() recursive, this functionality is handled by Resources.delete( res ) to make the ResourceStore API easier to implement.

Add Comment

Add Comment

This message was sent by Atlassian JIRA (v6.5-OD-08-001#65007-sha1:1fc9846)

Atlassian logo