[
https://issues.apache.org/jira/browse/NIFI-14340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Stieglitz updated NIFI-14340:
------------------------------------
Description:
Currently the following warning is seen when building
{code:java}
[WARNING] nifi/nifi-extension-bundles/nifi-standard
-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/serv
er/AbstractCacheServer.java:[113,19] [removal] finalize() in Object has been
deprecated and marked for removal
[WARNING]
nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3775,19]
[removal] finalize() in Object has been deprecated and marked for removal
[WARNING]
nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3777,13]
[removal] finalize() in Object has been deprecated and marked for removal
{code}
The aim of this ticket is to replace the finalize method with the Java API's
suggested replacement.
was:
Currently the following warning is seen when building
{code:java}
[WARNING] nifi/nifi-extension-bundles/nifi-standard
-services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/serv
er/AbstractCacheServer.java:[113,19] [removal] finalize() in Object has been
deprecated and marked for removal{code}
The aim of this ticket is to replace the finalize method with the Java API's
suggested replacement.
> Replace the use of finalize in AbstractCacheServer and StandardProcessSession
> with the API suggested replacement
> ----------------------------------------------------------------------------------------------------------------
>
> Key: NIFI-14340
> URL: https://issues.apache.org/jira/browse/NIFI-14340
> Project: Apache NiFi
> Issue Type: Improvement
> Reporter: Daniel Stieglitz
> Assignee: Daniel Stieglitz
> Priority: Minor
>
> Currently the following warning is seen when building
> {code:java}
> [WARNING] nifi/nifi-extension-bundles/nifi-standard
> -services/nifi-distributed-cache-services-bundle/nifi-distributed-cache-server/src/main/java/org/apache/nifi/distributed/cache/serv
> er/AbstractCacheServer.java:[113,19] [removal] finalize() in Object has been
> deprecated and marked for removal
> [WARNING]
> nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3775,19]
> [removal] finalize() in Object has been deprecated and marked for removal
> [WARNING]
> nifi/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/controller/repository/StandardProcessSession.java:[3777,13]
> [removal] finalize() in Object has been deprecated and marked for removal
> {code}
> The aim of this ticket is to replace the finalize method with the Java API's
> suggested replacement.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)