All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.java.rules.squid.S2701.html Maven / Gradle / Ivy

The newest version!

There's no reason to use literal boolean values in assertions. Doing so is at best confusing for maintainers, and at worst a bug.

Noncompliant Code Example

assertTrue(true);




© 2015 - 2025 Weber Informatics LLC | Privacy Policy