ResourcePool.readStyle created empty files

Description

ResourcePool.readStyle uses Resource.in() without checking if the file exists.

The current implementation simply creates the file. This is the last of three obvious cases where files are created spuriously.

If this is resolved, the main issue [GEOS-10705] can finally be resolved, too

Environment

None

Activity

Show:

Dieter Stüken January 20, 2023 at 12:32 PM

I just resolved #6335.

If this gets accepted I can proceed with refactoring FileSystemResource (GEOS-10705).

Fixed

Details

Assignee

Reporter

Fix versions

Priority

Created November 9, 2022 at 2:50 PM
Updated February 4, 2023 at 8:13 AM
Resolved February 4, 2023 at 8:13 AM