Commit 25ce153
committed
PrefService: deprecate clear(Class, String)
This is the same thing as remove(Class, String).
Actually, in the Preferences API, clear and removeNode are not the same:
removeNode is recursive, whereas clear just clears keys at the current
node and not below. But the latter non-recursive behavior is not
something we want to expose via the PrefService API.1 parent 4fee211 commit 25ce153
File tree
2 files changed
+9
-10
lines changed- src/main/java/org/scijava/prefs
2 files changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | 168 | | |
174 | 169 | | |
175 | 170 | | |
| |||
297 | 292 | | |
298 | 293 | | |
299 | 294 | | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | 89 | | |
95 | 90 | | |
96 | 91 | | |
| |||
264 | 259 | | |
265 | 260 | | |
266 | 261 | | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
267 | 265 | | |
0 commit comments