Uroš Bojanić created SPARK-59200:
------------------------------------

             Summary: 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ć


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