Skip to content

Commit

Permalink
Upgrade AWS SDK to 2.20.138 reproduce & and fix #65
Browse files Browse the repository at this point in the history
  • Loading branch information
aesteve committed Aug 31, 2023
1 parent 5a86371 commit 6ced644
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
val vertxVersion = "4.4.5"
val awsSdkVersion = "2.20.74"
val awsSdkVersion = "2.20.138"
val junit5Version = "5.8.2"
val logbackVersion = "1.2.10"
val localstackVersion = "0.2.22"
Expand Down Expand Up @@ -37,7 +37,7 @@ repositories {
}

fun isNonStable(version: String): Boolean {
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.toUpperCase().contains(it) }
val stableKeyword = listOf("RELEASE", "FINAL", "GA").any { version.uppercase().contains(it) }
val regex = "^[0-9,.v-]+(-r)?$".toRegex()
val isStable = stableKeyword || regex.matches(version)
return isStable.not()
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.gradle.jvmargs=-Xmx4096m
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public void onSubscribe(Subscription subscription) {

@Override
public void onNext(ByteBuffer byteBuffer) {
if (byteBuffer.array().length != 0) {
if (byteBuffer.hasRemaining()) {
Buffer buffer = Buffer.buffer(Unpooled.wrappedBuffer(byteBuffer));
stream.write(buffer);
}
Expand Down

0 comments on commit 6ced644

Please sign in to comment.