Query module PrintLnArray

name
Implicit conversion from array to string
description
Directly printing an array, without first converting the array to a string, produces unreadable results.
kind
problem
problem.severity
recommendation
precision
very-high
id
java/print-array
tags
maintainability

Imports

StringFormat

Provides classes and predicates for reasoning about string formatting.

java

Provides all default Java QL imports.

Predicates

arraysToStringArgument

Holds if e is an argument of Arrays.toString(..).