Skip to content

Commit e4fc483

Browse files
committed
POM: update parent to pom-scijava 36.0.0
And make the necessary code changes to account for backward incompatibilities in the ImgLib2 library as of version 6.
1 parent 0b0b4e1 commit e4fc483

3 files changed

Lines changed: 3 additions & 14 deletions

File tree

imagej/imagej-ops2/src/main/java/net/imagej/ops2/coloc/ShuffledView.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -179,12 +179,7 @@ public T get() {
179179
}
180180

181181
@Override
182-
public Sampler<T> copy() {
183-
throw new UnsupportedOperationException();
184-
}
185-
186-
@Override
187-
public RandomAccess<T> copyRandomAccess() {
182+
public ShuffledRandomAccess copy() {
188183
throw new UnsupportedOperationException();
189184
}
190185
}

imagej/imagej-ops2/src/main/java/net/imagej/ops2/slice/SlicesII.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -201,11 +201,6 @@ public RandomAccessibleInterval<T> get() {
201201
return dropSingltonDimensions ? Views.dropSingletonDimensions(res) : res;
202202
}
203203

204-
@Override
205-
public Sampler<RandomAccessibleInterval<T>> copy() {
206-
return copyCursor();
207-
}
208-
209204
@Override
210205
public RandomAccessibleInterval<T> next() {
211206
fwd();
@@ -218,9 +213,8 @@ public void remove() {
218213
}
219214

220215
@Override
221-
public Cursor<RandomAccessibleInterval<T>> copyCursor() {
216+
public SlicesIICursor copy() {
222217
return new SlicesIICursor(this);
223218
}
224219
}
225-
226220
}

pom.xml

Lines changed: 1 addition & 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>34.1.0</version>
8+
<version>36.0.0</version>
99
<relativePath />
1010
</parent>
1111

0 commit comments

Comments
 (0)