Commit aa8bbf4
committed
Only warn about unmatched inputs in modules
We used to issue an error when the module service's run() method
was called with inputs that are not specified explicitly in the
corresponding ModuleInfo.
That is fragile: should the implementing classes be modified and remove
an input parameter, we should still do our best to continue.
Therefore, let's just warn instead and continue, making the unmatched
input available to the module and just skipping the conversion to
an explicit type (because the info does not specify it).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>1 parent 38ff1bb commit aa8bbf4
1 file changed
+12
-9
lines changedLines changed: 12 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| 346 | + | |
| 347 | + | |
346 | 348 | | |
347 | | - | |
348 | | - | |
| 349 | + | |
| 350 | + | |
349 | 351 | | |
350 | | - | |
351 | | - | |
352 | | - | |
353 | | - | |
354 | | - | |
355 | | - | |
356 | | - | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
357 | 360 | | |
358 | 361 | | |
359 | 362 | | |
| |||
0 commit comments