[ 
https://issues.apache.org/jira/browse/SPARK-59200?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18111078#comment-18111078
 ] 

Uroš Bojanić commented on SPARK-59200:
--------------------------------------

In progress: https://github.com/apache/spark/pull/58490

> Simplify redundant boolean comparisons in BlockGeneratorSuite
> -------------------------------------------------------------
>
>                 Key: SPARK-59200
>                 URL: https://issues.apache.org/jira/browse/SPARK-59200
>             Project: Spark
>          Issue Type: Improvement
>          Components: DStreams
>    Affects Versions: 4.4.0
>            Reporter: Uroš Bojanić
>            Priority: Minor
>
> BlockGeneratorSuite uses `x === false` for boolean checks in 23 places 
> (assert and require). This replaces them with `!x`, which is more idiomatic 
> and gives clearer ScalaTest assert failure messages. No logic change; 
> test-only.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to