This is an automated email from the ASF dual-hosted git repository.
exceptionfactory pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new ad181a3ad7 NIFI-14340 Removed finalize method from AbstractCacheServer
(#9828)
ad181a3ad7 is described below
commit ad181a3ad75fb6c9219f703212faabd9a43501dd
Author: dan-s1 <[email protected]>
AuthorDate: Mon Mar 31 13:17:17 2025 -0400
NIFI-14340 Removed finalize method from AbstractCacheServer (#9828)
Signed-off-by: David Handermann <[email protected]>
---
.../apache/nifi/distributed/cache/server/AbstractCacheServer.java | 5 -----
1 file changed, 5 deletions(-)
diff --git
a/nifi-extension-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/AbstractCacheServer.java
b/nifi-extension-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/AbstractCacheServer.java
index c816abf25c..26b99cbcad 100644
---
a/nifi-extension-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/AbstractCacheServer.java
+++
b/nifi-extension-bundles/nifi-standard-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/server/AbstractCacheServer.java
@@ -109,11 +109,6 @@ public abstract class AbstractCacheServer extends
AbstractControllerService {
cacheServer = null;
}
- @Override
- protected void finalize() throws Throwable {
- shutdownServer();
- }
-
/**
* @return the port that the server is listening on, or -1 if the server
has not been started
*/