jSparrow v4.11.0/v3.18.0

將新的“刪除冗餘關閉”重構規則添加到 Eclipse 和 Maven 外掛程式。
5月 23, 2022
新版本

特性

jSparrow Eclipse Plugin and Maven Plugin

  • New Rule
    • Remove Redundant Close - This rule is used to remove redundant 'close()' invocation statements on resources which are declared in the header of try-with-resource statements.

jSparrow Eclipse Plugin

  • More jSparrow Markers - Added 13 additional markers for the following rules taking the total number of available jSparrow Markers to 89:
    • Add Braces to Control Statements.
    • Remove Deprecated Date Constructs.
    • Replace Nested Loops with flatMap.
    • Replace static final Collections with Collections.unmodifiable...().
    • Use Portable Newline.
    • Use StringUtils Methods.
    • Use Predefined Standard Charset.
    • Use Dedicated AssertJ Assertions.
    • Replace JUnit assertThat with Hamcrest.
    • Replace JUnit Expected Annotation Property with assertThrows.
    • Replace JUnit ExpectedException with assertThrows.
    • Replace JUnit Timeout Annotation Property with assertTimeout.
    • Remove Redundant Close.
jSparrow

jSparrow

自動 Java 重構。

有任何疑問嗎?

Live Chat現在與我們的jSparrow 專家即時聊天詢問。