Inspectopedia
 
2024.3

Java Collections static method call can be replaced with Kotlin stdlib

Info
New
Last modified: 03 December 2024

Reports a Java Collections static method call that can be replaced with Kotlin stdlib.

Example:

The quick fix replaces Java Collections static method call with the corresponding Kotlin stdlib method call: