Skip to content

Commit

Permalink
fix potential NPE in object stream method
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxcapades committed Feb 5, 2024
1 parent 7a5846c commit f9b7274
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "org.veupathdb.lib.s3"
version = "0.7.0+s34k-0.11.0"
version = "0.7.1+s34k-0.11.0"

java {
sourceCompatibility = JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion readme.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Minio implementation of the https://github.com/VEuPathDB/lib-s34k[S34k] API.
.*Adding to project*:
[source, kotlin]
----
implementation("org.veupathdb.lib.s3:s34k-minio:0.7.0+s34k-0.11.0")
implementation("org.veupathdb.lib.s3:s34k-minio:0.7.1+s34k-0.11.0")
----

For a full API reference, see
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,7 @@ internal class BucketObjectContainer(
return BasicObjectStream(
minio.listObjects(ListObjectsArgs.builder()
.bucket(bucket)
.prefix(params.prefix)
.optPrefix(params.prefix)
.region(params, bucket)
.recursive(true)
.headers(params.headers)
Expand Down

0 comments on commit f9b7274

Please sign in to comment.