Skip to content

Commit b4f24cc

Browse files
authored
Merge pull request #74 from zarr-developers/bump-blosc
Bump blosc-java to 0.3-1.21.6
2 parents 02c51d1 + 62e10b2 commit b4f24cc

3 files changed

Lines changed: 1 addition & 7 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<dependency>
103103
<groupId>com.scalableminds</groupId>
104104
<artifactId>blosc-java</artifactId>
105-
<version>0.1-1.21.4</version>
105+
<version>0.3-1.21.6</version>
106106
</dependency>
107107
<dependency>
108108
<groupId>com.github.luben</groupId>

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

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,6 @@ public ArrayMetadataBuilder withBloscCompressor(
9393
}
9494

9595
public ArrayMetadataBuilder withBloscCompressor(String cname, String shuffle, int clevel, int blockSize) {
96-
if (shuffle.equals("shuffle")) {
97-
shuffle = "byteshuffle";
98-
}
9996
return withBloscCompressor(Blosc.Compressor.fromString(cname), Blosc.Shuffle.fromString(shuffle), clevel,
10097
dataType.getByteCount(), blockSize
10198
);

src/main/java/dev/zarr/zarrjava/v3/codec/CodecBuilder.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ public CodecBuilder withBlosc(
3838
}
3939

4040
public CodecBuilder withBlosc(String cname, String shuffle, int clevel, int blockSize) {
41-
if (shuffle.equals("shuffle")) {
42-
shuffle = "byteshuffle";
43-
}
4441
return withBlosc(Blosc.Compressor.fromString(cname), Blosc.Shuffle.fromString(shuffle), clevel,
4542
dataType.getByteCount(), blockSize
4643
);

0 commit comments

Comments
 (0)