| 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
GEOS-7651 Open . 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. |