scijava-common
scijava-common copied to clipboard
Generalize PrefService API
The PrefService was a refactoring of the Prefs class, which was bound to java.util.Preferences (see #102 for details). Thus the API is fairly specific to java.util.Preferences.
Areas to generalize:
- [ ]
gettersandsettersfor each type - [ ]
Mapsthat only holdStringvalues - [ ]
Liststhat only holdStringvalues - [ ] Remove the access to global,
Class-less preferences. These only encourage name clashes for no concrete benefit.
We should tackle this (if indeed we decide there is anything to tackle here) at the same time as #345.