1. a07bd3e Release Error Prone 2.38.0 by cushon · 6 months ago v2.38.0
  2. 09fd394 Fix typo in NullTernary.md by Johnny Lim · 6 months ago
  3. 4171fd7 FindIdentifiers: find binding variables declared by enclosing or earlier `if` statements, as well as ternaries, and enclosing binary trees. by ghm · 6 months ago
  4. d78f515 Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if appropriate. by ghm · 6 months ago
  5. 6f94a97 Tolerate default cases in switches as being present to handle version skew by Kevin O'Connor · 6 months ago
  6. 0223abb Support `@LenientFormatString` in `LenientFormatStringValidation`. by ghm · 6 months ago
  7. cb7dfaf Remove the `Side` enum. by ghm · 6 months ago
  8. d64c9ce Promote error prone check TestExceptionChecker to ERROR within Google (blaze and tricorder). by Error Prone Team · 6 months ago
  9. c0ce475 Move `TargetType` to a top-level class alongside `ASTHelpers`. by Liam Miller-Cushon · 6 months ago
  10. 90b8efb Allow binding to BINDING_VARIABLEs in GuardedByBinder. by ghm · 6 months ago
  11. 62b8d6e Remove ~half the tests in StatementSwitchToExpressionSwitchTest. by ghm · 6 months ago
  12. cdc601b Extract the test enums to a common place to reduce duplication in each test. by ghm · 6 months ago
  13. 8dd0f95 a constant `SDK_INT` is not by Liam Miller-Cushon · 6 months ago
  14. 103dcbd Improve CheckedExceptionNotThrown diagnostic position by Liam Miller-Cushon · 6 months ago
  15. 0daf096 Move `PreconditionsExpensiveString` to core Error Prone by Liam Miller-Cushon · 6 months ago
  16. 3fcb599 Delete Java7ApiChecker by Liam Miller-Cushon · 6 months ago
  17. 4389ffc Migrate another diagnostic handler to ErrorProneLog by Liam Miller-Cushon · 6 months ago
  18. c97c6ae Prepare for an incompatible change to Log diagnostic handlers by Liam Miller-Cushon · 6 months ago
  19. 96fb761 Create a checker to add NullMarked annotation to package-info files by Error Prone Team · 7 months ago
  20. a9ce3b2 Tidy up the JavacParser -> EndPosTable shenanigans. by ghm · 7 months ago
  21. 2336ea3 Only match local variables in `UnnecessaryCopy`. by ghm · 7 months ago
  22. 8dc9f5c Automated rollback of commit 5d49351ef45e25179be4f60a7e1f83ec50da324e. by Error Prone Team · 7 months ago
  23. 2517f1b Include JSpecify annotations in `-with-dependencies.jar`. by cpovirk · 7 months ago
  24. 5d49351 Move `TargetType` to a top-level class alongside `ASTHelpers`. by ghm · 7 months ago
  25. 0c0f39e [StatementSwitchToExpressionSwitch] fix bug in handling of `case null`. by markbrady · 7 months ago
  26. f8bf0bc Add a flag to have ConstantExpressions regard all method invocations as pure. by ghm · 7 months ago
  27. af3468f Tweak ASTHelpers.targetType to regard the target type of `x` in `x.foo()` as the earliest supertype that declares a `foo` with a compatible return type. by ghm · 7 months ago
  28. ee9cbd5 When deleting dead code, be aggressive and delete the surrounding comments too. by ghm · 7 months ago
  29. 35b2059 Suggest long, double, and float literals instead of casting ints by Liam Miller-Cushon · 7 months ago
  30. 25eeed6 Delete an unused parameter in ASTHelpers.getGeneratedBy by ghm · 7 months ago
  31. f65d8ac PUBLIC: Update `RestrictedApi`'s javadocs about how it works with record components. Add a regression test for `@RestrictedApi` on record components. by Kurt Alfred Kluever · 7 months ago
  32. 50137c0 RedundancyRemover: Remove redundant `static` and `final` from records. by Error Prone Team · 7 months ago
  33. acf915d [StatementSwitchToExpressionSwitch] Enable direct conversion by default. This default behavior can be manually overridden by using a command-line flag. by markbrady · 7 months ago
  34. 9984d36 [StatementSwitchToExpressionSwitch] test-only change; explicitly set default flag values currently used in unit tests by markbrady · 7 months ago
  35. d7239ce Add `ProtocolStringList` (and subtypes like `LazyStringList`, and `LazyStringArrayList`) to `NonApiType` (with any visibility). Ideally, we'd also discourage local variables, but `NonApiType` doesn't have that option (left a TODO). by Kurt Alfred Kluever · 7 months ago
  36. c47d3aa Make UnnecessaryAssignment actually work for assignments. by ghm · 7 months ago
  37. f6c9240 Remove the legacy constructor from AbstractReturnValueIgnored. by ghm · 7 months ago
  38. f077548 UnnecessaryCopy: flag unnecessary copies of proto List/Maps. by ghm · 7 months ago
  39. cf6a585 Match all constant expressions on the lhs of `lhs instanceof Foo` in PatternMatchingInstanceof. by ghm · 7 months ago
  40. 1087bc1 MisleadingEmptyVarargs: flag use of `thenThrow()` with no arguments. by ghm · 7 months ago
  41. f8cab88 Update[] by Kurt Alfred Kluever · 7 months ago
  42. fe573f7 Remove an unused type parameter, and a TODO. by ghm · 7 months ago
  43. ebbc9ca Yet more PatternMatchingInstanceof findings. by ghm · 7 months ago
  44. c442bf2 SetSelf: flag things of the form `proto.setFoo(proto.getFoo())`. by ghm · 7 months ago
  45. f425700 Add a regression test for external 4936. by ghm · 7 months ago
  46. 6c0350b Bump Guava to 33.4.6, and release a Google-internal test that depends on Guava's usage of JSpecify annotations. by cpovirk · 7 months ago
  47. 1fda009 Allow `Optional` params inside of a `GraphWrapper`. by Kurt Alfred Kluever · 7 months ago
  48. 69ea1ba Require types to be the same in PatternMatchingInstanceOf by Liam Miller-Cushon · 7 months ago
  49. 831645f Reformat with latest version of google-java-format by Liam Miller-Cushon · 7 months ago
  50. d7aad09 Adjust indentation of `// fall through` comments after unknown commit by Liam Miller-Cushon · 7 months ago
  51. 2d5a7f4 Make OverrideThrowableToString match MethodTrees by Liam Miller-Cushon · 7 months ago
  52. 9a28455 Reformat with latest text block style by Liam Miller-Cushon · 7 months ago
  53. ad18968 style: prefer https:// links in favour of http:// by Vladimir Sitnikov · 7 months ago
  54. e394524 Only emit StringConcatToTextBlock findings for source versions that support text blocks by Liam Miller-Cushon · 7 months ago
  55. ab45284 Keep some mandatory parens in PatternMatchingInstanceOf by Liam Miller-Cushon · 7 months ago
  56. 0eede30 Symmetrize the handling of the statements after the `if` between the negated and non-negated cases. by ghm · 7 months ago
  57. 1d13006 Remove dependency on error_prone_type_annotations by Niklas Gustavsson · 7 months ago
  58. 1966d6d Fix an NPE in StringConcatToTextBlock by Liam Miller-Cushon · 7 months ago
  59. 04f05c2 Add handling of `Futures.submitAsync` (static method) by Error Prone Team · 7 months ago
  60. 81faa5a Update JDK versions in release.yml by Liam Miller-Cushon · 7 months ago
  61. 62086b7 Handle multiple arguments in `thenThrow`. by ghm · 7 months ago
  62. 7440ff1 In StringConcatToTextBlock, don't assume that string literals always have source position information by Liam Miller-Cushon · 7 months ago
  63. 04fe835 Adds type_annotations back but as a relocation to annotations by Thomas Broyer · 7 months ago
  64. 1ad73c2 Handle `yield` in Reachability by Liam Miller-Cushon · 7 months ago
  65. b1b521f Sniff out the canonical constructor using detective work rather than a flag which isn't there. by ghm · 7 months ago
  66. 86e5c95 Optimization: Abort class scan in `JUnit4TestNotRun` if all suspicious methods have been excluded. by David P. Baker · 7 months ago
  67. c139e7f [StatementSwitchToExpressionSwitch] for the return switch pattern, fix a bug where the auto-fix can contain dead code, which will lead to a compile-time error if adopted. by markbrady · 7 months ago
  68. 296fb4e Hardcode `BoxedPrimitiveEquality:ExemptStaticConstants = false`. by ghm · 7 months ago
  69. aee5101 Have `UAnyOf#accept` invoke `TreeVisitor#visitOther` by Rick Ossendrijver · 7 months ago
  70. 8c476e7 Make return of findPathFromEnclosingNodeToTopLevel @Nullable by Manu Sridharan · 7 months ago
  71. c124fc6 Remove separate type_annotations artifact by Liam Miller-Cushon · 7 months ago
  72. baf0e0a Discourage assignment expressions. by ghm · 8 months ago
  73. f635aa8 Improve handling of raw types by Liam Miller-Cushon · 8 months ago
  74. 52a3318 Make TooManyParameters analyzer ignore constructors that have @AutoFactory annotation. by Error Prone Team · 8 months ago
  75. ee8702c [StatementSwitchToExpressionSwitch]: for return switch conversion, fix incorrect assumption that last of multiple statements is always a return by markbrady · 8 months ago
  76. 9546ee4 Get Choice off Guava's Optional/Predicate/Function types. by ghm · 8 months ago
  77. d353a78 Add "public" to constructors in constructor_withAtInject and ignoresAutoFactory tests. by Error Prone Team · 8 months ago
  78. bbb0fe5 Add an explanation for PatternMatchingInstanceof by Liam Miller-Cushon · 8 months ago
  79. f439f9c Make NonCanonicalStaticMemberImport diagnostics more self-explanatory by Liam Miller-Cushon · 8 months ago
  80. a4834bd Rename methods on Choice to the corresponding Stream methods. by ghm · 8 months ago
  81. 82dbc53 Add handling of FutureCombiner.callAsync by Error Prone Team · 8 months ago
  82. eac11e5 UnusedVariable: recognise unused binding variables in instanceofs. by ghm · 8 months ago
  83. f01cfb5 Improve the hacky code to find the indent level of source lines. by ghm · 8 months ago
  84. 52cadcd Document that `IdentifierTree`s may have `null` symbols in some cases to save the next person some time. by ghm · 8 months ago
  85. ca5f827 More test formatting following https://github.com/google/error-prone/commit/714e49ba618f91345866848d05bd7fcc24e1c3ab by ghm · 8 months ago
  86. a2d7aa7 [StatementSwitchToExpressionSwitch] Enable assignment switch conversion by default. This default behavior can be manually overridden by using a command-line flag. by markbrady · 8 months ago
  87. 3347997 Delete `STATIC_IMPORT_ASSERT_THAT` and just always static import `assertThat`. by Kurt Alfred Kluever · 8 months ago
  88. b172f9a Remove the Applier from AppliedFix. It just seems unnecessary and does not spark joy. by ghm · 8 months ago
  89. a99ff06 IdentifierName: support JDK 22 unnamed variables by Mikkel Kjeldsen · 8 months ago
  90. 714e49b Fix handling of addOutputLines. by ghm · 8 months ago
  91. 4c116d9 Format all of ErrorProne's sources in text blocks. by ghm · 8 months ago
  92. da2ddd1 Add `ImportPolicy.STATIC_IMPORT_ASSERT_THAT`, which always static imports static `assertThat`. by ghm · 8 months ago
  93. 0c4c46c Add a variant test where the type parameter is explicitly used in the replacement. by ghm · 8 months ago
  94. 8109dfe Parse the expression to establish whether it's inlineable as a member reference rather than regexping it. by ghm · 8 months ago
  95. e9497cd Insert parens if the thing being substituted in may require them at the replacement site. by ghm · 8 months ago
  96. 785b4b8 Add another broken test where the substituted code requires parens. by ghm · 8 months ago
  97. 0bc6e8a Restore pre-21 workaround in `PlaceholderUnificationVisitor`. by ghm · 8 months ago
  98. ccc9a8a Inliner: parse the expression and use the AST to construct a replacement by performing careful, AST-backed surgery on the replacement expression tree. by ghm · 8 months ago
  99. 0ddefe8 [StatementSwitchToExpressionSwitch] Bugfix handling of brace removal for return switch. Add unit test to guard. by markbrady · 8 months ago
  100. 6daaf67 Be less tolerant of trailing semicolons in the validator. by ghm · 8 months ago