Inspectopedia
 
2024.3

Unnecessary temporary object in conversion from 'String'

Warning
New
Last modified: 03 December 2024

Reports unnecessary creation of temporary objects when converting from String to primitive types.

Example:

After the quick-fix is applied: