Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update deps #1144

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
[versions]
grpc = "1.55.1"
log4j = "2.20.0"
mockito = "5.1.1"
mockito = "5.3.1"
slf4j = "2.0.7"
guava = "31.1-jre"
guava = "32.0.0-jre"
assertj = "3.24.2"
junit = "5.9.2"
testcontainers = "1.17.6"
junit = "5.9.3"
testcontainers = "1.18.1"
protoc = "3.21.10"
failsafe = "2.4.4"
awaitility = "4.2.0"
commonsIo = "2.11.0"
commonCompress = "1.22"
commonsIo = "2.12.0"
commonCompress = "1.23.0"
autoService = "1.1.0"
jool = "0.9.14"
jool = "0.9.15"
jcommander = "1.82"
errorprone = "2.19.1"
vertx = "4.4.2"

versionsPlugin = "0.46.0"
errorPronePlugin = "3.0.1"
spotlessPlugin = "6.16.0"
shadowPlugin = "8.1.0"
errorPronePlugin = "3.1.0"
spotlessPlugin = "6.19.0"
shadowPlugin = "8.1.1"
testLoggerPlugin = "3.2.0"
protobufPlugin = "0.9.2"
nexusPublishPlugin = "1.2.0"
axionReleasePlugin = "1.14.4"
testRetryPlugin = "1.5.2"
protobufPlugin = "0.9.3"
nexusPublishPlugin = "1.3.0"
axionReleasePlugin = "1.15.3"
testRetryPlugin = "1.5.3"

[libraries]
slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" }
Expand Down
40 changes: 19 additions & 21 deletions jetcd-core/src/main/java/io/etcd/jetcd/Txn.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,14 @@
* <pre>
* {@code
* txn.If(
* new Cmp(KEY, Cmp.Op.GREATER, CmpTarget.value(VALUE)),
* new Cmp(KEY, cmp.Op.EQUAL, CmpTarget.version(2))
* ).Then(
* Op.put(KEY2, VALUE2, PutOption.DEFAULT),
* Op.put(KEY3, VALUE3, PutOption.DEFAULT)
* ).Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT),
* Op.put(KEY4, VALUE4, PutOption.DEFAULT)
* ).commit();
* new Cmp(KEY, Cmp.Op.GREATER, CmpTarget.value(VALUE)),
* new Cmp(KEY, cmp.Op.EQUAL, CmpTarget.version(2))).Then(
* Op.put(KEY2, VALUE2, PutOption.DEFAULT),
* Op.put(KEY3, VALUE3, PutOption.DEFAULT))
* .Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT),
* Op.put(KEY4, VALUE4, PutOption.DEFAULT))
* .commit();
* }
* </pre>
*
Expand All @@ -48,18 +47,17 @@
* <pre>
* {@code
* txn.If(
* new Cmp(KEY, Cmp.Op.GREATER, CmpTarget.value(VALUE))
* ).If(
* new Cmp(KEY, cmp.Op.EQUAL, CmpTarget.version(VERSION))
* ).Then(
* Op.put(KEY2, VALUE2, PutOption.DEFAULT)
* ).Then(
* Op.put(KEY3, VALUE3, PutOption.DEFAULT)
* ).Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT)
* ).Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT)
* ).commit();
* new Cmp(KEY, Cmp.Op.GREATER, CmpTarget.value(VALUE))).If(
* new Cmp(KEY, cmp.Op.EQUAL, CmpTarget.version(VERSION)))
* .Then(
* Op.put(KEY2, VALUE2, PutOption.DEFAULT))
* .Then(
* Op.put(KEY3, VALUE3, PutOption.DEFAULT))
* .Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT))
* .Else(
* Op.put(KEY4, VALUE4, PutOption.DEFAULT))
* .commit();
* }
* </pre>
*/
Expand Down
Loading