jSparrow v4.7.0/v3.14.0

新しい専用のAssertJアサーションの使用ルールを追加
1月 26, 2022
新バージョン

機能

jSparrow Eclipse Plugin and Maven Plugin

  • New Rule
    • Use Dedicated AssertJ Assertions - AssertJ contains a rich API for writing specific assertions about different types of objects. Making use of the appropriate dedicated methods when writing certain assertions will simplify the test code and improve the corresponding failure messages. This rule finds AssertJ assertions that can be simplified and replaces them with equivalent dedicated assertions.

jSparrow Eclipse Plugin

  • More jSparrow Markers - Added 21 additional markers for the following rules taking the total number of available jSparrow Markers to 41:
    • Replace For-Loop with Enhanced-For-Loop.
    • Replace While-Loop with Enhanced For-Loop.
    • Replace For-Loop with Stream::collect(Collectors.joining()).
    • Use String Join.
    • Use Multi Catch.
    • Use Try-With-Resource.
    • Use Arrays Stream.
    • Use Stream::filter.
    • Use Stream::map.
    • Use Stream::collect.
    • Use Factory Methods for Collections.
    • Replace Stream Collect By ToList.
    • Replace For-Loop with Stream::Match.
    • Replace For-Loop with Stream::findFirst.
    • Replace For-Loop with Stream::forEach.
    • Replace For-Loop with Stream::sum.
    • Replace For-Loop with Stream::takeWhile.
    • Use Text Block.
    • Use Switch Expression.
    • Use Java Records.
    • Use Pattern Matching for Instanceof.
  • jSparrow Markers Preference Page - Redesigned the jSparrow Markers preference page to group the markers by tags.
jSparrow

jSparrow(英語版)

Javaソースコードの自動リファクタリングツール。

ご質問がありますか?

今すぐ jSparrow ライセンススペシャリストとライブ チャット