[jira] [Created] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-14998) Remove FileUtils#deletePathIfEmpty

Shang Yuanchun (Jira)
Yun Tang created FLINK-14998:
--------------------------------

             Summary: Remove FileUtils#deletePathIfEmpty
                 Key: FLINK-14998
                 URL: https://issues.apache.org/jira/browse/FLINK-14998
             Project: Flink
          Issue Type: Bug
          Components: FileSystems
            Reporter: Yun Tang
             Fix For: 1.10.0


With the lesson learned from FLINK-7266, and the refactor of FLINK-8540, method of  {{FileUtils#deletePathIfEmpty}} has been totally useless in Flink production code. From my point of view, it's not wise to provide a method with already known high-risk defect in Flink official code. I suggest to remove this part of code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)