No products in the cart.
< 1 min read
Manageability
Medium
Lightning
SF-0060
Assignments in operands make code more complicated and harder to read. Also it can be a signal of a poorly-defined equality operator (assignment operator ‘=’ was used instead of the equality operator ‘==’.””) which will produce unwanted results.
=
==
This is sometime indicative of the bug where the assignment operator ‘=’ was used instead of the equality operator ‘==’.””
30 min
See the PMD documentation article: AssignmentInOperand.
There was a problem reporting this post.
Please confirm you want to block this member.
You will no longer be able to:
Please allow a few minutes for this process to complete.