Java 11
- 'Files.readString()' or 'Files.writeString()' can be used
Reports method calls that read or write a String as bytes using java.nio.file.Files.
- String.repeat() can be used
Reports loops that can be replaced with a single String.repeat() method (available since Java 11).
Last modified: 11 September 2024