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

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

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

NIFI-14762 Replaced deprecated method defaultIfNull of Lang3 ObjectUtils with 
getIfNull (#10116)

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

> Replace deprecated method defaultIfNull of 
> org.apache.commons.lang3.ObjectUtils with API suggestion
> ---------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-14762
>                 URL: https://issues.apache.org/jira/browse/NIFI-14762
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Per the org.apache.commons.lang3.ObjectUtils javadocs, 
> [https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/ObjectUtils.html#defaultIfNull(T,T)]]
>   the suggested replacement is to use 
> {code:java}
> getIfNull(Object, Object){code}
> The places where it needs to be replaced are below
> {code:java}
> [WARNING] 
> nifi-2.5.0/nifi-framework-bundle/nifi-framework/nifi-web/nifi-jetty/src/main/java/org/apache/nifi/web/server/connector/Fr
> ameworkServerConnectorFactory.java:[159,26] [deprecation] 
> <T>defaultIfNull(T,T) in ObjectUtils has been deprecated
> [WARNING] 
> nifi-2.5.0/nifi-extension-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/
> standard/calcite/RecordResultSetOutputStreamCallback.java:[62,26] 
> [deprecation] <T>defaultIfNull(T,T) in ObjectUtils has been deprecated
> [WARNING] 
> nifi-2.5.0/nifi-registry/nifi-registry-core/nifi-registry-jetty/src/main/java/org/apache/nifi/registry/jetty/connector/Ap
> plicationServerConnectorFactory.java:[231,26] [deprecation] 
> <T>defaultIfNull(T,T) in ObjectUtils has been deprecated
> {code}
>  



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

Reply via email to