Files
openide/java/java-impl/resources/inspectionDescriptions/ResultOfObjectAllocationIgnored.html
2025-02-05 04:43:28 +00:00

13 lines
426 B
HTML

<html>
<body>
Reports object allocations where the allocated object is ignored and neither assigned to a variable nor used in another way.
<p>
Such allocation expressions are legal in Java, but are usually either unintended, or
evidence of a very odd object initialization strategy.
</p>
<!-- tooltip end -->
<p>
Use the options to list classes whose allocations should be ignored by this inspection.
<p>
</body>
</html>