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

Yu Li closed FLINK-19172.
-------------------------
    Resolution: Not A Problem

In Flink we use the code convention that method parameters are non-null unless 
marked with {{@Nullable}} annotation, which also applies to the 
{{AbstractFileStateBackend#validatePath}} method. And we could see the 
[caller|https://github.com/apache/flink/blob/master/flink-runtime/src/main/java/org/apache/flink/runtime/state/filesystem/AbstractFileStateBackend.java#L109-L110]
 of this method follows this rule.

Please feel free to reopen the issue if you have any other concerns 
[~alessiosavi]. Thanks.

> [AbstractFileStateBackend]
> --------------------------
>
>                 Key: FLINK-19172
>                 URL: https://issues.apache.org/jira/browse/FLINK-19172
>             Project: Flink
>          Issue Type: Bug
>          Components: FileSystems, Runtime / State Backends
>    Affects Versions: 1.8.0
>            Reporter: Alessio Savi
>            Priority: Minor
>         Attachments: Flink.PNG
>
>
> The method `validatePath` of class `AbstractFileStateBackend` does not check 
> if the pathPart retrived from the input `Path` is blank. Instead, it only 
> check if it is null.
> Is this a bug?



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

Reply via email to