Inspectopedia
 
2024.3

'StringBuffer' may be 'StringBuilder'

Warning
New
Last modified: 03 December 2024

Reports variables declared as StringBuffer and suggests replacing them with StringBuilder. StringBuilder is a non-thread-safe replacement for StringBuffer.

This inspection only reports if the language level of the project or module is 5 or higher.