'String.format' call can be replaced with string templates

Last modified: 03 December 2024

Reports String.format calls that can be replaced with string templates.

Using string templates makes your code simpler.

The quick-fix replaces the call with a string template.

Example:

After the quick-fix is applied: