You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/09/03 12:19:00 UTC

[jira] [Updated] (SPARK-59200) Simplify redundant boolean comparisons in BlockGeneratorSuite

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

ASF GitHub Bot updated SPARK-59200:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>              Labels: pull-request-available
>
> 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org