jSparrow v4.0.0/v3.7.0

문제 및 코드 냄새에 대해 강조하고 빠른 수정을 제공하기위한 리소스 마커를 추가합니다.
6월 22, 2021
신규 버전

기능

  • 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

자동 Java refactoring.

궁금한 점이 있으세요?

jSparrow 사 제품 라이선스 담당자와 라이브 채팅