From c50c2f86b31858e36a2862b280aa800da97e1b6d Mon Sep 17 00:00:00 2001 From: Laurent Goujon Date: Mon, 11 Mar 2024 14:47:07 -0700 Subject: [PATCH] Codestyle fix --- .../src/test/java/org/apache/curator/zk35/TestIs35.java | 4 +--- .../src/test/java/org/apache/curator/zk36/TestIs36.java | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/curator-test-zk35/src/test/java/org/apache/curator/zk35/TestIs35.java b/curator-test-zk35/src/test/java/org/apache/curator/zk35/TestIs35.java index 11b8f04a2..0310bb62c 100644 --- a/curator-test-zk35/src/test/java/org/apache/curator/zk35/TestIs35.java +++ b/curator-test-zk35/src/test/java/org/apache/curator/zk35/TestIs35.java @@ -35,9 +35,7 @@ public void testIsZk35() { assertTrue(Compatibility.hasAddrField()); assertFalse(Compatibility.hasPersistentWatchers()); assertFalse(ZookeeperCompatibility.LATEST.hasPersistentWatchers()); - assertFalse(ZookeeperCompatibility.builder() - .build() - .hasPersistentWatchers()); + assertFalse(ZookeeperCompatibility.builder().build().hasPersistentWatchers()); assertFalse(ZookeeperCompatibility.builder() .hasPersistentWatchers(false) .build() diff --git a/curator-test-zk36/src/test/java/org/apache/curator/zk36/TestIs36.java b/curator-test-zk36/src/test/java/org/apache/curator/zk36/TestIs36.java index 3bc68e79b..8c0dac268 100644 --- a/curator-test-zk36/src/test/java/org/apache/curator/zk36/TestIs36.java +++ b/curator-test-zk36/src/test/java/org/apache/curator/zk36/TestIs36.java @@ -36,9 +36,7 @@ public void testIsZk36() { assertTrue(Compatibility.hasAddrField()); assertTrue(Compatibility.hasPersistentWatchers()); assertTrue(ZookeeperCompatibility.LATEST.hasPersistentWatchers()); - assertFalse(ZookeeperCompatibility.builder() - .build() - .hasPersistentWatchers()); + assertFalse(ZookeeperCompatibility.builder().build().hasPersistentWatchers()); assertFalse(ZookeeperCompatibility.builder() .hasPersistentWatchers(false) .build()