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

Uroš Bojanić resolved SPARK-59200.
----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 58490
[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, Tests
>    Affects Versions: 4.4.0
>            Reporter: Uroš Bojanić
>            Assignee: Uroš Bojanić
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> 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