koppor / jabref

Collection of simple for JabRef issues. Please submit PRs to https://github.com/jabRef/jabref/.
https://github.com/jabRef/jabref/
MIT License
8 stars 15 forks source link

Refactor LinkedFile #487

Open koppor opened 3 years ago

koppor commented 3 years ago

Some OO thingy:

Maybe it's time to introduce OnlineLinkedFile, PathLinkedFile and InvalidLinkedFile deriving from an abstract LinkedFile class (as we currently parse a string to a LinkedFile trying to convert strings to paths and urls, but then LinkedFile converts them to a string again...). Something for another time.

Soure: https://github.com/JabRef/jabref/pull/7347#event-4243067873

koppor commented 1 year ago

Longer discussion on file field: https://github.com/JabRef/jabref/issues/98