File: zookeeper-3.9.3.patch

package info (click to toggle)
apache-curator 5.7.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 5,996 kB
  • sloc: java: 53,996; xml: 2,358; python: 346; sh: 214; makefile: 2
file content (26 lines) | stat: -rw-r--r-- 900 bytes parent folder | download
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() {