DSpace / DSpace

(Official) The DSpace digital asset management system that powers your Institutional Repository
https://wiki.lyrasis.org/display/DSDOC7x/
BSD 3-Clause "New" or "Revised" License
855 stars 1.29k forks source link

improve interoperability: replace hard-coded slash by File.separator #9580

Closed saschaszott closed 1 month ago

saschaszott commented 1 month ago

Description

This PR replaces hard-coded slashes in directory paths.

mwoodiupui commented 1 month ago

I agree with this improvement, but also have a suggestion for the future: I've taken to using Paths instead of Strings for filesystem paths wherever feasible, and then I don't have to deal with separator characters at all.

dspace-bot commented 1 month ago

Successfully created backport PR for dspace-7_x: