1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
|
Description: removing the override of shutdown method, which has been declared
final in zookeeper
Author: Pierre Gruet <pgt@debian.org>
Bug-Debian: https://bugs.debian.org/1088714
Forwarded: no
Last-Update: 2024-12-03
--- a/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
+++ b/curator-test/src/main/java/org/apache/curator/test/TestingZooKeeperMain.java
@@ -255,16 +255,6 @@
this.setMaxSessionTimeout(config.getMaxSessionTimeout());
}
- @Override
- public synchronized void shutdown(boolean fullyShutDown) {
- super.shutdown(fullyShutDown);
- try {
- txnLog.close();
- } catch (IOException e) {
- // ignore
- }
- }
-
private final AtomicBoolean isRunning = new AtomicBoolean(false);
public RequestProcessor getFirstProcessor() {
|