Skip to content

Commit

Permalink
chore(deps): update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
lburgazzoli committed May 28, 2023
1 parent 7374906 commit c712635
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 35 deletions.
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

0 comments on commit c712635

Please sign in to comment.