Skip to content

Commit 1078b60

Browse files
committed
DefaultPrefService: remove obsolete TODO
1 parent 5f1b644 commit 1078b60

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/org/scijava/prefs/DefaultPrefService.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -54,16 +54,6 @@
5454
@Plugin(type = Service.class)
5555
public 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

0 commit comments

Comments
 (0)