[ https://issues.apache.org/jira/browse/SPARK-38076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-38076: ------------------------------------ Assignee: (was: Apache Spark) > Remove redundant null-check is covered by further condition > ----------------------------------------------------------- > > Key: SPARK-38076 > URL: https://issues.apache.org/jira/browse/SPARK-38076 > Project: Spark > Issue Type: Improvement > Components: Spark Core > Affects Versions: 3.3.0 > Reporter: Yang Jie > Priority: Minor > > There are many code pattern as follows: > {code:java} > obj != null && obj instanceof SomeClass {code} > the null-check is redundant as instanceof operator implies non-nullity. -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org