File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed
src/main/java/org/scijava/prefs Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change 5454@ Plugin (type = Service .class )
5555public class DefaultPrefService extends AbstractPrefService {
5656
57- // TODO - with the conversion from a static utility class to a service, we
58- // have unfortunately lost some power to adapt behavior to individual data
59- // types - either the whole service is superceded, or it's not. For example,
60- // see the saveValue/loadValue of the ModuleItem class, where each item could
61- // decide how it was saved and loaded.
62- // Thus it would be nice to refactor this service to use the Handler pattern,
63- // such that there would just be a few base put/get methods that delegated
64- // to appropriate handlers. Then the handlers of a single type could be
65- // provided and overridden.
66-
6757 // -- Global preferences --
6858
6959 @ Override
You can’t perform that action at this time.
0 commit comments