Skip to content

Commit

Permalink
Merge pull request #392 from emilmelnikov/patch-1
Browse files Browse the repository at this point in the history
Fix DynamicCommand.getOutput
  • Loading branch information
ctrueden authored Jul 31, 2020
2 parents d200f60 + b42b473 commit b3fcd90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/scijava/command/DynamicCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public Object getInput(final String name) {
@Override
public Object getOutput(final String name) {
final Field field = getInfo().getOutputField(name);
if (field == null) return super.getInput(name);
if (field == null) return super.getOutput(name);
return ClassUtils.getValue(field, this);
}

Expand Down

0 comments on commit b3fcd90

Please sign in to comment.