Commit aa8cd49
committed
PrefService: eliminate get/putIterable methods
These have now been combined with the get/putList methods:
* The putList method accepts any iterable.
* Any persisted Iterable is retrievable as a List with getList.
Previously, it might have broken backwards compatibility for
the putList(Class, List, String) signature to be widened to
putList(Class, Iterable, String). But since we deprecated
that method in favor of a new and as-yet-unreleased method
put(Class, String, List), we can widen it to
put(Class, String, Iterable) without guilt.1 parent 0030059 commit aa8cd49
File tree
3 files changed
+9
-25
lines changed- src
- main/java/org/scijava/prefs
- test/java/org/scijava/prefs
3 files changed
+9
-25
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
| 157 | + | |
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
229 | | - | |
230 | | - | |
231 | | - | |
232 | | - | |
233 | 228 | | |
234 | 229 | | |
235 | 230 | | |
236 | | - | |
| 231 | + | |
237 | 232 | | |
238 | 233 | | |
239 | 234 | | |
| |||
486 | 481 | | |
487 | 482 | | |
488 | 483 | | |
489 | | - | |
490 | | - | |
491 | | - | |
492 | | - | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
493 | 488 | | |
494 | 489 | | |
495 | 490 | | |
| 491 | + | |
496 | 492 | | |
497 | 493 | | |
498 | 494 | | |
| |||
503 | 499 | | |
504 | 500 | | |
505 | 501 | | |
506 | | - | |
507 | | - | |
508 | | - | |
509 | | - | |
510 | | - | |
511 | | - | |
512 | | - | |
513 | 502 | | |
514 | 503 | | |
515 | 504 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | 128 | | |
134 | 129 | | |
135 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments