Skip to content

Commit

Permalink
POM: Bump dependency version imglib2-7.1.1, and fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tpietzsch committed Sep 23, 2024
1 parent 7ab7a41 commit bf88f0c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ Jean-Yves Tinevez and Michael Zinsmaier.</license.copyrightOwners>
<!-- NB: Deploy releases to the SciJava Maven repository. -->
<releaseProfiles>sign,deploy-to-scijava</releaseProfiles>

<imglib2.version>7.0.1</imglib2.version>
<imglib2.version>7.1.1</imglib2.version>
<imglib2-cache.version>1.0.0-beta-18</imglib2-cache.version>
</properties>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,8 @@ public ImagePlusImgFactory( final T type )
img = new ShortImagePlus( dimensions, entitiesPerPixel );
break;
default:
img = new ImagePlusImg<>( ArrayDataAccessFactory.get( typeFactory ), dimensions, entitiesPerPixel );
final A creator = ArrayDataAccessFactory.get( typeFactory );
img = new ImagePlusImg<>( creator, dimensions, entitiesPerPixel );
}
img.setLinkedType( typeFactory.createLinkedType( img ) );
return img;
Expand Down

0 comments on commit bf88f0c

Please sign in to comment.