[ 
https://issues.apache.org/jira/browse/NIFI-15517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18055279#comment-18055279
 ] 

ASF subversion and git services commented on NIFI-15517:
--------------------------------------------------------

Commit 5b9b2b0783f4381733e919ba9e2ebbdf0d6a0028 in nifi's branch 
refs/heads/main from dan-s1
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=5b9b2b0783 ]

NIFI-15517 Updated Email Processors with explicit Executor to resolve 
constructor deprecation (#10821)

Signed-off-by: David Handermann <[email protected]>

> Replace use of deprecated ConcurrentTaskScheduler default constructor with 
> API suggested replacement
> ----------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-15517
>                 URL: https://issues.apache.org/jira/browse/NIFI-15517
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In a recent build, the following deprecation notice indicates the default 
> constructor for ConcurrentTaskScheduler is deprecated.
> {code:java}
> 2026-01-27T23:19:38.4234681Z [WARNING] 
> /home/runner/work/nifi/nifi/nifi-extension-bundles/nifi-email-bundle/nifi-email-processors/src/main/java/org/apache/nifi/processors/email/AbstractEmailProcessor.java:[332,82]
>  [deprecation] ConcurrentTaskScheduler() in ConcurrentTaskScheduler has been 
> deprecated{code}
> The suggestion per the 
> [javadocs|https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/scheduling/concurrent/ConcurrentTaskScheduler.html#%3Cinit%3E()]
>  is to use the constructor which takes a ScheduledExecutorService as an 
> argument.
> The goal of this ticket is to replace the use of the deprecated 
> ConcurrentTaskScheduler with the use of the constructor which takes a 
> ScheduledExecutorService as an argument.



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

Reply via email to