Please sign in to comment.
LegacyService: handle all ModuleInfos
When it's a ScriptInfo, continue to handle shift specially. Otherwise, always use moduleService.run. The special cases for CommandInfo running via CommandService, and ScriptInfo running via ScriptService, did nothing else than delegate to the ModuleService anyway. This also has the happy side effect of avoiding a bug caused by CommandService.run returning null -- which occurs when the command in question implements Module directly. Using ModuleService's run method instead has no such issue. See also: https://forum.image.sc/t/issue-in-scijava-common/23402
- Loading branch information...
Showing with 8 additions and 17 deletions.