jSparrow v4.7.0/v3.14.0

Adds new Use Dedicated AssertJ Assertions rule.
January 26, 2022 - 14:26
New Version

Features

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

Automatic Java refactoring.

Got a Question?

Live Chat with our jSparrow licensing specialists now.