Inspectopedia Help

'StringBuffer' may be 'StringBuilder'

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.

Inspection Details

Available in:

IntelliJ IDEA 2023.3, Qodana for JVM 2023.3


Java, 233.SNAPSHOT

Last modified: 13 July 2023