Inspectopedia
 
2024.3

'StringBuilder.append(CharArray, offset, len)' call on the JVM

Warning
New
Last modified: 03 December 2024

Reports a StringBuilder.append(CharArray, offset, len) function call on the JVM platform that should be replaced with a StringBuilder.appendRange(CharArray, startIndex, endIndex) function call.

The append function behaves differently on the JVM, JS and Native platforms, so using the appendRange function is recommended.

Example:

After the quick-fix is applied: