You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Daniel Stieglitz (Jira)" <ji...@apache.org> on 2024/09/20 19:13:00 UTC

[jira] [Updated] (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:all-tabpanel ]

Daniel Stieglitz updated NIFI-13781:
------------------------------------
    Description: 
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 common issues Intellij is citing is to replace the multiple if statements with enhanced switch statements and and replace certain variables with pattern variables.

  was:
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 common issues Intellij is citing is to replace the multiple if statements with the improved switch statements and and replace certain variables with pattern variables.


> 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
>
> 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 common issues Intellij is citing is to replace the multiple if statements with enhanced switch statements and and replace certain variables with pattern variables.



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