Skip to content

Commit 8d06a67

Browse files
ctruedengselzer
authored andcommitted
Use more succinct fast-failing service accessor
1 parent 34dbea0 commit 8d06a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scijava-ops-benchmarks/src/main/java/org/scijava/ops/benchmarks/frameworks/FrameworksState.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public class FrameworksState {
5555
public void setUpInvocation() {
5656
// Set up ImageJ Ops
5757
ctx = new Context(OpService.class);
58-
ops = ctx.getService(OpService.class);
58+
ops = ctx.service(OpService.class);
5959
// Set up SciJava Ops
6060
env = OpEnvironment.build();
6161
// Create input data

0 commit comments

Comments
 (0)