jSparrow v4.13.0/v3.20.0

'Replace Multi Branch If By Switch' 및 'Replace Wrong Class for Logger'를 포함한 새로운 리팩토링 규칙을 추가합니다.
9월 28, 2022
신규 버전

기능

jSparrow Eclipse Plugin and Maven Plugin

  • New Rules
    • Replace Set.removeAll With ForEach - Calling the method 'removeAll' on a Set with a List as an invocation argument may lead to performance problems due to a possible 'O(n^2)' complexity. This rule replaces such invocations.
    • Replace Wrong Class for Logger - If a given logger is initialized with a class that is different from the class where it is declared, then this rule will replace the wrong initialization argument with the correct one.
    • Replace Multi Branch If By Switch - In Java 14, switch expressions turned into a standard feature. This rule replaces multi-branch 'if' statements by corresponding switch expressions or switch statements with switch labeled rules. Because this rule removes a lot of redundant parts of code, readability has been improved.

jSparrow Eclipse Plugin

  • More jSparrow Markers - This release adds 2 additional markers for the following rules:
    • Replace Set.removeAll With ForEach.
    • Replace Wrong Class for Logger.
jSparrow

jSparrow

자동 Java refactoring.

궁금한 점이 있으세요?

jSparrow 사 제품 라이선스 담당자와 라이브 채팅