You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Coverity flagged this line in an equality test for ImmutableMap.java:
immutableMap1.map();
It is marked as useless because the return value is not utilized. The reason for the function call is to check for any side effects from calling it, to ensure immutability in the equality test.
However, equalsverifier is used in the project anyways, so the test is obsolete and can be removed to get rid of the Coverity defect.
The text was updated successfully, but these errors were encountered:
Description
Coverity flagged this line in an equality test for ImmutableMap.java:
immutableMap1.map();
It is marked as useless because the return value is not utilized. The reason for the function call is to check for any side effects from calling it, to ensure immutability in the equality test.
However, equalsverifier is used in the project anyways, so the test is obsolete and can be removed to get rid of the Coverity defect.
The text was updated successfully, but these errors were encountered: