[
https://issues.apache.org/jira/browse/NIFI-15947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18081839#comment-18081839
]
ASF subversion and git services commented on NIFI-15947:
--------------------------------------------------------
Commit e40f0f7691bc9de7277d2f3011232843b0fe64a7 in nifi's branch
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e40f0f7691b ]
NIFI-15947 Replaced deprecated method expireAfterWrite of
com.google.common.cache.CacheBuilder (#11258)
> 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
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)