Skip to content

Commit 9109009

Browse files
gselzerctrueden
authored andcommitted
Remove cacheOp method
It is only used in one place, and it is only one line.
1 parent 3ea7201 commit 9109009

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

scijava/scijava-ops-engine/src/main/java/org/scijava/ops/engine/impl/DefaultOpEnvironment.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,10 +405,6 @@ private void instantiateAndCache(MatchingConditions conditions,
405405
OpInstance<?> op = instantiateOp(candidate, conditions.hints());
406406

407407
// cache instance
408-
cacheOp(conditions, op);
409-
}
410-
411-
private void cacheOp(MatchingConditions conditions, OpInstance<?> op) {
412408
opCache.putIfAbsent(conditions, op);
413409
}
414410

0 commit comments

Comments
 (0)