Skip to content

Commit

Permalink
NamespacePreprocessor: fix really stupid bug
Browse files Browse the repository at this point in the history
How did this work before...?

This commit is dedicated to Tim-Oliver Buchholz.
  • Loading branch information
ctrueden committed Jun 19, 2017
1 parent d768c2e commit dbbc347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/imagej/ops/NamespacePreprocessor.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ private <T> void assignNamespace(final Module module,
// if possible, extract the OpEnvironment from the delegate object
final Object delegate = module.getDelegateObject();
final OpEnvironment env = delegate instanceof Environmental ? //
(OpEnvironment) delegate : ops;
((Environmental) delegate).ops() : ops;
if (env == null) return;

T defaultValue = null;
Expand Down

0 comments on commit dbbc347

Please sign in to comment.