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

org.sonar.l10n.pmd.NullAssignment.html Maven / Gradle / Ivy

There is a newer version: 5.1
Show newest version
Assigning a null to a variable (outside of its declaration) is usually bad form. Some times, the assignment is an indication that the programmer doesn't completely understand what is going on in the code. NOTE: This sort of assignment may in rare cases be useful to encourage garbage collection. If that's what you're using it for, by all means, disregard this rule :-)




© 2015 - 2025 Weber Informatics LLC | Privacy Policy