Skip to content

Commit 2a88b25

Browse files
committed
Bump scijava-common dependency to 2.80.1
This is required because scijava-common-2.80.1.jar was uploaded to the Java-8 update site and introduces a breaking change in DynamicCommand. To fix this, we remove the moduleService parameter as it is now defined in DynamicCommand.
1 parent 5de8054 commit 2a88b25

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

pom.xml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<parent>
66
<groupId>org.scijava</groupId>
77
<artifactId>pom-scijava</artifactId>
8-
<version>26.0.0</version>
8+
<version>27.0.1</version>
99
<relativePath />
1010
</parent>
1111

@@ -81,6 +81,9 @@
8181
<license.copyrightOwners>Friedrich Miescher Institute for Biomedical Research, Basel (Switzerland)</license.copyrightOwners>
8282
<license.excludes>**/scripts/**</license.excludes>
8383

84+
<!-- NB: Fiji ships with scijava-common-2.80.1.jar currently, so we need to adapt as long as no new pom-scijava is released -->
85+
<scijava-common.version>2.80.1</scijava-common.version>
86+
8487
<!-- NB: Deploy releases to the SciJava Maven repository. -->
8588
<releaseProfiles>deploy-to-scijava</releaseProfiles>
8689
</properties>

src/main/java/org/scijava/batch/ModuleBatchProcessor.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
import org.scijava.module.Module;
4545
import org.scijava.module.ModuleInfo;
4646
import org.scijava.module.ModuleItem;
47-
import org.scijava.module.ModuleService;
4847
import org.scijava.module.MutableModuleItem;
4948
import org.scijava.plugin.Parameter;
5049
import org.scijava.plugin.Plugin;
@@ -55,9 +54,6 @@
5554

5655
@Plugin(type = Command.class, label = "Choose batch processing parameters", initializer = "initInputChoice")
5756
public class ModuleBatchProcessor<T> extends DynamicCommand {
58-
@Parameter
59-
private ModuleService moduleService;
60-
6157
@Parameter
6258
private BatchService batchService;
6359

0 commit comments

Comments
 (0)