Skip to content

Commit 36936c0

Browse files
ctruedengselzer
authored andcommitted
ArrayImgTypeExtractor: make minor improvements
1 parent 45d537d commit 36936c0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/main/java/net/imagej/ops/types/ArrayImgTypeExtractor.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
*
5252
* @author Gabriel Selzer
5353
*/
54-
@Plugin(type = TypeExtractor.class, priority = Priority.LOW_PRIORITY)
54+
@Plugin(type = TypeExtractor.class, priority = Priority.LOW)
5555
public class ArrayImgTypeExtractor implements TypeExtractor<ArrayImg<?, ?>> {
5656

5757
@Parameter
@@ -68,7 +68,7 @@ public Type reify(final ArrayImg<?, ?> o, final int n) {
6868
return labelingType;
6969
}
7070
// type of the backing array
71-
return typeService.reify(o.update(new Object()));
71+
return typeService.reify(o.update(null));
7272
}
7373

7474
@Override

0 commit comments

Comments
 (0)