blob: 632ac661fc81bac567c754c66f52b1ee2bf64a1b [file] [log] [blame]
<html>
<body>
Reports any call to <b>toArray()</b>
on an object of type or subtype <b>java.util.Collection</b>
with a zero-length array argument. When passing in an array of too small size, the
<b>toArray()</b> method has to construct a new array of
the right size using reflection. This has significantly worse performance than passing
in an array of at least the size of the collection itself.
<!-- tooltip end -->
<p>
<small>Powered by InspectionGadgets</small>
</body>
</html>