Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space CBJAVA and version Publish

...

Ql
import java

from MethodAccess call, Method add
where
  call.getMethod().overrides*(add) and
 and add.hasName("add") and
 and add.getDeclaringType().getSourceDeclaration().hasQualifiedName("java.util", "Collection") and
 and call.getAnArgument() instanceof NullLiteral
select call
Htmlcomment
hiddentrue
hashconfluence_uploader_hash:11ba5db001f933ae9a65373db04280fba86d02cca2a2d8a1da300869c33a29b323c9e0172b4bcc16