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

Greg Hogan closed FLINK-8105.
-----------------------------
    Resolution: Implemented

master: 3561222c5d6c7cee79f8c5872f32227632135c48

> Removed unnecessary null check
> ------------------------------
>
>                 Key: FLINK-8105
>                 URL: https://issues.apache.org/jira/browse/FLINK-8105
>             Project: Flink
>          Issue Type: Improvement
>          Components: Checkstyle
>    Affects Versions: 1.4.0
>            Reporter: Hai Zhou UTC+8
>            Assignee: Hai Zhou UTC+8
>            Priority: Minor
>             Fix For: 1.5.0
>
>
> eg.
> {code:java}
> if (value != null && value instanceof String)
> {code}
> null instanceof String returns false hence replaced the check with
> {code:java}
> if (value instanceof String)
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to