Hi,
I was looking at this check in DefaultFileFilter:
public boolean test(Path path) {
    final String fileName = path.getName();
    if (fileName == null || fileName.length() == 0) {
        return true;
    }Was wondering how can a file name be null?
And if null, shouldnt this be return false?
I created a JIRA for this - [FLINK-33367] Invalid Check in DefaultFileFilter - 
ASF JIRA

| 
| 
|  | 
[FLINK-33367] Invalid Check in DefaultFileFilter - ASF JIRA


 |

 |

 |

Any input is appreciated.
Thanks


Reply via email to