You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2024/09/24 21:28:00 UTC

[jira] [Commented] (NIFI-13781) Update DataTypeUtils with enhanced switch statements and pattern variables

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

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

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

NIFI-13781 Updated DataTypeUtils with syntax optimizations from recent Java versions (#9302)

Signed-off-by: David Handermann <ex...@apache.org>

> Update DataTypeUtils with enhanced switch statements and pattern variables
> --------------------------------------------------------------------------
>
>                 Key: NIFI-13781
>                 URL: https://issues.apache.org/jira/browse/NIFI-13781
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Minor
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Intellij is reporting a lot of possible improvements for file 
> {code:java}
> nifi-commons/nifi-record/src/main/java/org/apache/nifi/serialization/record/util/DataTypeUtils.java
> {code}
> Some of the prevalent issues Intellij is citing are the need to replace multiple if statements with enhanced switch statements and replace certain variables with pattern variables.



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