Daniel Stieglitz created NIFI-15947:
---------------------------------------
Summary: Replace deprecated methdod expireAfterWrite
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
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{}}}.
{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)