mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-11-30 09:44:24 +00:00
registerSettings takes one settings type
The varargs over a generic Class made every caller compile with an unchecked generic array warning. One type per call matches registerResourceKind and registerValidator.
This commit is contained in:
1 parent
84bd65fdc4
commit
32a07bd005
4 files changed
+10
-24
No files matched your search
@@ -651,7 +651,7 @@ public final class FloraSettings implements IrisFeature {
|
||||
use them. Both are deprecated for removal: transitional, until the cut-over.
|
||||
- Settings named in `when(...)` and object generator settings are described automatically. Settings
|
||||
that no stage names, such as ones read only through `FeatureSettings.at(...)`, are registered with
|
||||
`setup.registry().registerSettings(WindSettings.class, GustSettings.class)` in `setup`. Their feature id follows the module
|
||||
`setup.registry().registerSettings(WindSettings.class)` in `setup`, one call per type. Their feature id follows the module
|
||||
id like any other, and once registered, other modules may name them in `when(...)`.
|
||||
|
||||
A load error names the field, the settings and the module:
|
||||
|
||||
Reference in new issue
Block a user