jSparrow v4.0.0/v3.7.0

Aggiunge indicatori di risorsa per evidenziare e fornire soluzioni rapide per problemi e odori di codice.
Giugno 22, 2021
Nuova versione

Funzionalità

  • jSparrow Eclipse Plugin
    • jSparrow Markers - jSparrow introduces resource markers for highlighting and providing quick-fixes for issues and code smells. The following rules will automatically generate markers for the Java files that are opened in the editor:
      • Replace equals() on Enum Constants.
      • Use Functional Interfaces.
      • Replace Inefficient Constructors with valueOf().
      • Replace Expression Lambda with Method Reference.
      • Remove Boxing for String Conversions.
      • Replace put(..) with putIfAbsent(..).
      • Remove Null-Checks Before Instanceof.
      • Reorder String Equality Check.
      • Use Comparator Methods.
      • Replace Equality Check with isEmpty().
    • jSparrow Markers are not persisted on disk. They are generated and deleted when a Java file is opened and closed.
  • jSparrow Eclipse Plugin and Maven Plugin
    • New Rules
      • Use Dedicated Assertions - Replaces boolean assertions (e.g. assertTrue and assertFalse) with the corresponding dedicated assertions when testing for equality or null values.
      • Replace JUnit Assumptions with Hamcrest JUnit - This rule replaces the JUnit 4 assumptions assumeThat, assumeNoException, and assumeNotNull by the equivalent Hamcrest JUnit assumption MatcherAssume.assumeThat.
      • Replace JUnit 4 Category with JUnit Jupiter Tag - This rule replaces JUnit 4 @Category annotations with one or more JUnit Jupiter @Tag annotations.
jSparrow

jSparrow

Refactoring Java automatico.

Hai una domanda?

Chatta live con i nostri specialisti di gestione delle licenze di jSparrow ora.