jSparrow v3.21.0/v2.18.0

Ajoute de nouvelles règles de refactorisation dans les plugins "Eclipse" et "Maven".
Septembre 24, 2020
Nouvelle Version

Fonctionnalités

jSparrow Eclipse Plugin and Maven Plugin

  • New Rules:
    • Create Temp Files Using Java NIO - A suitable alternative for creating temporary files in security-sensitive applications is to use java.nio.file.Files.createTempFile(String, String, FileAttribute...) instead of java.io.File.createTempFile(String, String).
    • Use Files.newBufferedReader - Java 7 introduced the Files class that contains convenience methods for operating on files. This rule makes use of the Files.newBufferedReader method for initializing BufferedReader objects to read text files in an efficient non-blocking manner.
    • Use Offset Based String Methods - This rule avoids creating intermediate String instances by making use of the overloaded offset based methods in the String API.
    • Use Predefined Standard Charset - In order to avoid creating new objects, this rule replaces invocations of Charset.forName(String) by constants defined in StandardCharsets.
jSparrow

jSparrow

Refactorisation automatique de Java.

Vous avez une question ?

Discutez en direct avec l'un de nos spécialiste des licences jSparrow .