Query module RemoveTypeMismatch

name
Type mismatch on container modification
description
Calling container modification methods such as ‘Collection.remove’ or ‘Map.remove’ with an object of a type that is incompatible with the corresponding container element type is unlikely to have any effect.
kind
problem
problem.severity
error
precision
very-high
id
java/type-mismatch-modification
tags
reliability correctness logic

Imports

Collections
java

Provides all default Java QL imports.

Predicates

Classes