scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Fix checking of resolved outputs in DefaultModuleService

Open imagejan opened this issue 4 years ago • 0 comments

The method DefaultModuleService#getSingleItem is used for both inputs and outputs, but this line only checks the input:

https://github.com/scijava/scijava-common/blob/beb6de2d8a31d3e783123a25eefc8b7e9dbef855/src/main/java/org/scijava/module/DefaultModuleService.java#L498

See also https://github.com/scijava/scijava-common/pull/423#discussion_r633126331.

imagejan avatar Jun 24 '21 19:06 imagejan