New Rule - Replace For-Loop with Stream::takeWhile
Since Java 9, it is possible to get the prefix of a Stream with the takeWhile method. This rule replaces enhanced for-loops iterating over the prefix of a collection with Stream::takeWhile.
Lombok Compatibility
Brings compatibility of jSparrow refactoring with Lombok annotations. The code generated by Lombok will not be affected by jSparrow.
jSparrow 2.4.0 for Maven
New Rules added for Java 9 and above:
Replace For-Loop with Stream::takeWhile.
Use Factory Mehods for Collections.
不具合の修正
jSparrow 3.7.0 for Eclipse Fixes
Allow the transformation of Collection.sort to List.sort if the comparator is implemented inline as an anonymous class.