|
Torben Barsballe created an issue |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Created: |
08/Sep/16 11:46 PM |
Fix Versions: |
2.10-beta |
Priority: |
|
Reporter: |
IOUtils contains a bunch of usefull File and IO utilities, including a very thorough rename method. However, IOUtils is contained in the gs-main project, which has gs-platform as a dependency FileSystemResouce (in gs-platform) is currently using the plain java File rename, leading to It would be better to have utility classes such as IOUtils as far upstream as possible (e.g. in gs-platform rather than gs-main). IOUtils currently contains a couple of methods that depend on classes in gs-main (XStreamPersister related stuff, which could be refactored out to its own utility method). In order to mitigate API changes, we can retain the gs-main org.geoserver.data.util.IOUtils as a deprecated class for the duration of 2.10. To limit code duplication, it will extend the new IOUtils in gs-platform. |
This message was sent by Atlassian JIRA (v1000.319.1#100012-sha1:913341f) |
|