jSparrow v4.6.0/v3.13.0

Released: Dec 16, 2021

Updates in v4.6.0/v3.13.0

Features

jSparrow Eclipse Plugin and Maven Plugin

  • New Rules
    • Chain AssertJ AssertThat Statements - Encourages writing fluent test cases by chaining the assertions that target the same object instead of invoking assertThat (opens new window) multiple times.
    • Shift AssertJ Description Before Assertion - Provides methods for setting assertion descriptions or error messages.
  • More jSparrow Markers - This release adds 10 additional markers for the following rules:
    • Avoid Concatenation in Logging Statements.
    • Insert Break Statements in For-loops.
    • Remove Explicit Type Argument.
    • Remove Unused Parameters in Private Methods.
    • Remove Redundant Type Cast.
    • Replace indexOf() with contains().
    • Replace Map::get by Map::getOrDefault.
    • Replace put(..) with putIfAbsent(..).
    • Replace removeAll() with clear().
    • Use Collections Singleton List.
  • jSparrow Markers Preference Page - Allows users choose the set of markers that automatically appear the Java editor.