i have a question about the code. sometimes SEP and sometimes File.separator are used and sometimes other codes are included. Can I change this and is there a default and preference? Otherwise I would use File.separator.
Sorry, SEP? Can you please link to the code?
Yes, of course... Still wanted to have made.
https://github.com/IQSS/dataverse/blob/07eb97be160faf9ae4059bf3159e1a334382ccb4/src/main/java/edu/harvard/iq/dataverse/DatasetVersionServiceBean.java#L9
https://github.com/IQSS/dataverse/blob/07eb97be160faf9ae4059bf3159e1a334382ccb4/src/main/java/edu/harvard/iq/dataverse/api/BatchServiceBean.java#L49
https://github.com/IQSS/dataverse/blob/07eb97be160faf9ae4059bf3159e1a334382ccb4/src/main/java/edu/harvard/iq/dataverse/batch/jobs/importer/filesystem/FileRecordJobListener.java#L84
And more...
Interesting. Personally, I would probably use File.separator but if you want to define it as SEP, I don't think anyone would object.
I have also found a few other things that I have been improving bit by bit. it's not bad, but make the code more readable and a bit more uniform. But I don't know if that's what you want.
Well, we had a recent conversation about coding style that resulted in #10524. If you have more you think we should add to that list, please let us know!
File.separator I was also favoured.
Yes, I will do that. But I thought I'd write here in the chat to see if what I personally think is okay.
Make sense. Should we have a thread/topic per idea? We could rename this one to SEP vs File.separator, for example.
There's also https://groups.google.com/g/dataverse-dev
I bring up that "dev" mailing list because not all of the core devs read Zulip.
okay. Thanks!
Can someone add (benedikt.meier@uit.no) me to the list: https://groups.google.com/g/dataverse-dev
@Benedikt sure, I just sent you an invite.
thanks!
@Benedikt thanks for posting https://groups.google.com/g/dataverse-dev/c/5QYTeIi3Zoc/m/2CT2Q7BaAAAJ
Last updated: Nov 01 2025 at 14:11 UTC