Releases: openrewrite/rewrite-static-analysis
Releases · openrewrite/rewrite-static-analysis
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
v1.0.8
What's Changed
- Unnecessary explicit type arguments removes necessary type arguments by @pstreef in #165
- Do not simplify boolean return with comments by @timtebeek in #169
- Preserve arrays when inlining variables by @timtebeek in #170
- Don't redeclare EnumSet as Set by @Bananeweizen in #183
- fix: FinalizeMethodArguments considers unary and += expressions by @AlejandroBertolo in #180
- fix: skip finalizing anonymous class fields in FinalizeLocalVariables by @AlejandroBertolo in #182
New Contributors
- @Bananeweizen made their first contribution in #183
- @AlejandroBertolo made their first contribution in #180
Full Changelog: v1.0.7...v1.0.8