Skip to content

Releases: openrewrite/rewrite-static-analysis

2.1.0

24 Jan 17:30
3001a5b
Compare
Choose a tag to compare

What's Changed

  • recipe: On abstract classes make constructors protected by @kthoms in #450
  • feat: prevent UnnecessaryCatch from removing catch (Throwable t) by @auke- in #451

New Contributors

Full Changelog: v2.0.2...v2.1.0

2.0.2

17 Jan 17:24
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.1...v2.0.2

v2.0.1

11 Jan 15:09
Compare
Choose a tag to compare

What's Changed

  • Guard against missing Cs class now that dependency is provided by @timtebeek in #438
  • ReplaceDuplicateStringLiterals throws NPE from 1.19.0+ #384 by @adambir in #385
  • Methods are not ambiguous if their argument size differs by @timtebeek fixes #427
  • ReplaceOptionalIsPresentWithIfPresent should not convert when exception could be thrownby @timtebeek fixes #435

New Contributors

Full Changelog: v2.0.0...v2.0.1

2.0.0

10 Jan 17:09
Compare
Choose a tag to compare

What's Changed

  • NullableOnMethodReturnType should not change identity on package private methods by @kmccarp in #404
  • Verify EqualsAvoidsNullVisitor works well for chained method calls by @punkratz312 in #412
  • refactor: Enum values should be compared with "==" by @timtebeek in #414
  • UseLambdaForFunctionalInterface recipe should not convert when code uses a static field from enum constructor by @jevanlingen in #415
  • Lambda by @punkratz312 in #419
  • Collapse constitutionals in SimplifyBooleanExpression by @punkratz312 in #421
  • Use provided configuration for optional language dependencies by @jevanlingen in #411

New Contributors

Full Changelog: v1.22.0...v2.0.0

1.22.0

18 Dec 15:14
13f4bb4
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.21.1...v1.22.0

1.21.1

28 Nov 18:55
0b00944
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.21.0...v1.21.1

1.21.0

27 Nov 16:16
8a0343b
Compare
Choose a tag to compare

What's Changed

  • Fix IndexOutOfBoundsException in EqualsAvoidsNull recipe by @ggerbaud in #394
  • Unnecessary return as last statement in void method by @mccartney in #388

New Contributors

Full Changelog: v1.20.0...v1.21.0

1.20.0

13 Nov 16:12
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.19.0...v1.20.0

1.19.0

23 Oct 15:04
75f9cc5
Compare
Choose a tag to compare

What's Changed

  • Cap the lengths of generate names in the ReplaceDuplicateStringLiterals recipe by @lkerford in #374
  • address: LiteralsFirstInComparisons PMD rule by @punkratz312 in #368
  • Fix CatchCauseOnlyRethrows onlyRethrows check for multi catch statements by @nielsdebruin in #355
  • Setting the maximum generated variable length to 40 by @lkerford in #375
  • Updating ReplaceDuplicateStringLiterals recipe to use VariableNameUtils to track variable names by @lkerford in #377
  • Allow removal of unused local variables with side effects in initializer by @timtebeek in #378

New Contributors

Full Changelog: v1.18.0...v1.19.0

1.18.0

09 Oct 18:16
6646f06
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.17.0...v1.18.0