You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2026/05/15 20:14:00 UTC

[jira] [Updated] (NIFI-15947) Replace deprecated method expireAfterWrite of com.google.common.cache.CacheBuilder with suggested replacement

     [ https://issues.apache.org/jira/browse/NIFI-15947?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Stieglitz updated NIFI-15947:
------------------------------------
    Summary: Replace deprecated method expireAfterWrite of com.google.common.cache.CacheBuilder  with suggested  replacement  (was: Replace deprecated methdod expireAfterWrite com.google.common.cache.CacheBuilder  with suggested  replacement)

> Replace deprecated method expireAfterWrite of com.google.common.cache.CacheBuilder  with suggested  replacement
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15947
>                 URL: https://issues.apache.org/jira/browse/NIFI-15947
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>
> Per the CacheBuilder  [expireAfterWrite|https://www.javadoc.io/static/com.google.guava/guava/33.6.0-jre/com/google/common/cache/CacheBuilder.html#expireAfterWrite(long,java.util.concurrent.TimeUnit)]  javadoc, the two argument method of {{expireAfterWrite}} is deprecated and should be replaced with a single argument method {{{}expireAfterWrite{}}}.
> Example of deprecation log messages.
> {code:java}
> 2026-05-14T08:49:20.8109059Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcService.java:[73,70] [deprecation] expireAfterWrite(long,TimeUnit) in CacheBuilder has been deprecated
> 2026-05-14T08:49:20.8315351Z [WARNING] /home/runner/work/nifi/nifi/nifi-registry/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/security/authentication/oidc/OidcService.java:[74,70] [deprecation] expireAfterWrite(long,TimeUnit) in CacheBuilder has been deprecated{code}
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)