Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
1.3.0
What's Changed
NeedBraces
: Deal with trailing comments by @knutwannheden in #249MinimumSwitchCases
: Case with multiple constants by @knutwannheden in #250- Do not adopt Arrays.toString for varargs arguments by @timtebeek in #246
- Add BigDecimalDoubleConstructor Recipe by @JLLeitschuh in #252
- refactor: Automatically select recipe examples from the unit test cases of a recipe by @timtebeek in #253
- ReplaceLambdaWithMethodReference skip parameterized method return types by @timtebeek in #240
New Contributors
- @JLLeitschuh made their first contribution in #252
Full Changelog: v1.2.2...v1.3.0
1.2.2
What's Changed
- feature(LambdaBlockToExpression): convert lambda with method invocation as well by @timo-abele in #241
- Improve SimplifyTernary names and descriptions by @mike-solomon in #243
- #242 Fix remove unused private fields by @gwydionmv in #244
New Contributors
- @timo-abele made their first contribution in #241
- @gwydionmv made their first contribution in #244
Full Changelog: v1.2.1...v1.2.2
1.2.1
Full Changelog: v1.2.0...v1.2.1
1.2.0
What's Changed
- Simplify Ternary expressions [#203] by @ammachado in #231
New Contributors
- @ammachado made their first contribution in #231
Full Changelog: v1.1.4...v1.2.0
1.1.4
Full Changelog: v1.1.3...v1.1.4
1.1.3
What's Changed
- Set types based on the java compiler. by @traceyyoshima in #228
New Contributors
- @traceyyoshima made their first contribution in #228
Full Changelog: v1.1.2...v1.1.3
1.1.2
What's Changed
- Handle annotated types in UseCollectionInterfaces by @Bananeweizen in #224
- refactor: Update Gradle wrapper to 8.5 by @timtebeek in #225
Full Changelog: v1.1.1...v1.1.2
1.1.1
What's Changed
- Remove duplicated semicolons, without removing newline by @timtebeek in #216
- RemoveUnusedPrivateFields should remove imports by @timtebeek in #218
- Do not finalize private static fields assigned in constructor by @timtebeek in #215
- Context-free template for
AddSerialVersionUidToSerializable
by @knutwannheden in #134
Full Changelog: v1.1.0...v1.1.1
v1.1.0
What's Changed
- Allow
RemoveRedundantTypeCast
to deal with generics by @knutwannheden in #209 - No method reference on new class select by @timtebeek in #212
- Cast when needed on lambda expressions by @joanvr in #207
Full Changelog: v1.0.9...v1.1.0
v1.0.9
What's Changed
- Transform collection.size() < 1 to isEmpty() by @Bananeweizen in #184
- Fix
default
modifier type position to comply with Java Language Specification by @joteri in #188 - rename when same id but in different scopes by @joanvr in #196
- remove comments from same line by @joanvr in #195
- RemoveEmptyJavaDocParameters: added tests + fixed bugs by @joanvr in #198
- no diamond when argument to generic method by @joanvr in #197
- rename final variables too by @joanvr in #199
- Use method references in lambdas by @knutwannheden in #202
- Manually create LST for enums in
MinimumSwitchCases
by @knutwannheden in #204 - Simplify
if
s with literal conditions even if they jump by @tkindy in #193 - Refactor: Simplify RemoveUnreachableCodeVisitor by @pstreef in #206
- RenameLocalVariablesToCamelCase: Do not rename method argument names. by @pstreef in #205
FallThrough
must only addbreak
on normal termination by @knutwannheden in #208
New Contributors
Full Changelog: v1.0.8...v1.0.9