blob: cbb5936eb9e3e39b40341db0d48a419c74f9a435 [file] [log] [blame]
<html>
<body>
Reports any attempt to instantiate a new
<b>String</b> object by copying an existing string.
Constructing new <b>String</b> objects in this way
is rarely necessary, and may cause performance problems if done often enough.
<!-- tooltip end -->
<p>
Use the checkbox below to ignore <b>String</b>
constructor calls which have a <b>String.substring()</b>
call as parameter. A call to <b>substring()</b>
reuses the character array of the original string, which can cause a large
amount of garbage to stay in memory if the substring is small in relation to the
original <b>String</b>.
<p>
</body>
</html>