Skip to content

Commit 80e9ce6

Browse files
committed
update tests with long
1 parent d3eb00b commit 80e9ce6

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/dev/zarr/zarrjava/v2/Group.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
public class Group extends dev.zarr.zarrjava.core.Group implements Node {
2828
public GroupMetadata metadata;
2929

30-
protected Group(@Nonnull StoreHandle storeHandle, @Nonnull GroupMetadata groupMetadata) throws IOException {
30+
protected Group(@Nonnull StoreHandle storeHandle, @Nonnull GroupMetadata groupMetadata) {
3131
super(storeHandle);
3232
this.metadata = groupMetadata;
3333
}

src/test/java/dev/zarr/zarrjava/ZarrV2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ public void testResizeArrayShrinkWithBoundaryTrimming() throws IOException, Zarr
482482

483483
// Now resize to expand again and check that trimmed area has fill value
484484
array = array.resize(new long[]{10, 10}, true);
485-
ucar.ma2.Array data = array.read(new long[]{7, 0}, new int[]{3, 10});
485+
ucar.ma2.Array data = array.read(new long[]{7, 0}, new long[]{3, 10});
486486
// All values in rows 7-9 should be fill value (99)
487487
int[] expectedFillData = new int[3 * 10];
488488
Arrays.fill(expectedFillData, 99);

src/test/java/dev/zarr/zarrjava/ZarrV3Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ public void testResizeArrayShrinkWithBoundaryTrimming() throws IOException, Zarr
858858

859859
// Now resize to expand again and check that trimmed area has fill value
860860
array = array.resize(new long[]{10, 10}, true);
861-
ucar.ma2.Array data = array.read(new long[]{7, 0}, new int[]{3, 10});
861+
ucar.ma2.Array data = array.read(new long[]{7, 0}, new long[]{3, 10});
862862
// All values in rows 7-9 should be fill value (99)
863863
int[] expectedFillData = new int[3 * 10];
864864
Arrays.fill(expectedFillData, 99);

0 commit comments

Comments
 (0)