[ 
https://issues.apache.org/jira/browse/FLINK-33367?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexander Fedulov closed FLINK-33367.
-------------------------------------
    Release Note: Not an actual issue.
      Resolution: Won't Fix

I am closing this as there is no description of the actual issue.

> Invalid Check in DefaultFileFilter
> ----------------------------------
>
>                 Key: FLINK-33367
>                 URL: https://issues.apache.org/jira/browse/FLINK-33367
>             Project: Flink
>          Issue Type: Bug
>          Components: Connectors / FileSystem
>    Affects Versions: 1.16.2
>            Reporter: Chirag Dewan
>            Priority: Minor
>
> There is a null check in DefaultFileFilter:
>  
> if (fileName == null || fileName.length() == 0)
> {   return true; }
>  
> So 2 questions here -
> 1) Can a file name ever be null?
> 2) What will be the behavior with return true? Should it be return false 
> rather?



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

Reply via email to