jSparrow v4.4.0/v3.11.0

EclipseおよびMavenのプラグインへの新しいルールを追加し、Java 16で導入された'Stream.toList'をサポート
11月 4, 2021
新バージョン

機能

  • jSparrow Eclipse Plugin and Maven Plugin
    • New Rule
      • Replace Stream Collect By ToList - Java 16 introduced Stream.toList() as a shorthand method for converting a Stream into an unmodifiable List.
        This rule replaces invocations of collect(Collectors.toUnmodifiableList()) on a stream by the new method stream.toList().
      • Use Switch Expression - This rule replaces the traditional switch-case statements with switch-case expressions, which turned to standard feature in Java 14.
      • Use Text Block - This rule replaces multiline String concatenation expressions with Text Block String literals, which turned to standard feature in Java 15.
      • Replace String Format by Formatted - This rule replaces the static invocations of String.format​(String format, Object... args) by invocations of the new instance method String.formatted(Object... args).
jSparrow adds new rule to support Stream.toList.

jSparrow(英語版)

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

ご質問がありますか?

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