[ https://issues.apache.org/jira/browse/SPARK-38076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Jie updated SPARK-38076: ----------------------------- Description: There are many code pattern as follows: {code:java} obj != null && obj instanceof SomeClass {code} we can remove redundant the null-check > 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} > we can remove redundant the null-check -- 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