Permalink
Browse files

NamespacePreprocessor: fix really stupid bug

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 dbbc347130ba9ee1b6659d9f0b5b20310960eb7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/imagej/ops/NamespacePreprocessor.java
@@ -74,7 +74,7 @@ public void process(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;

0 comments on commit dbbc347

Please sign in to comment.