[
https://issues.apache.org/jira/browse/FLINK-8105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268037#comment-16268037
]
ASF GitHub Bot commented on FLINK-8105:
---------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/flink/pull/5034
> 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)