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

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

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

NIFI-16508 Removed redundant setUseCachedValuesForFormulaCells in 
ExcelStartingRowSchemaInference (#11851)

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

> Remove redundant call to DataFormatter.setUseCachedValuesForFormulaCells in 
> ExcelStartingRowSchemaInference
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: NIFI-16508
>                 URL: https://issues.apache.org/jira/browse/NIFI-16508
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Daniel Stieglitz
>            Assignee: Daniel Stieglitz
>            Priority: Trivial
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The fix for NIFI-16429 to solve the reported bug where the cached value of a 
> formula was not used for a header name, was to call 
> DataFormatter.setUseCachedValuesForFormulaCells(true) . This was all 
> necessary before POI 6.0.0 where the default behavior was not to use the 
> cached value of a formula. Starting in POI 6.0.0 the default behavior of 
> DataFormatter is to return the cached value of a formula hence there is no 
> longer a need to explicitly call setUseCachedValuesForFormulaCells. Since 
> NIFI upgraded to POI 6.0.0 in NIFI-16498, the call to 
> setUseCachedValuesForFormulaCells can now be removed.
> The purpose of this ticket is to remove this call.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to