- a07bd3e Release Error Prone 2.38.0 by cushon · 6 months ago v2.38.0
- 09fd394 Fix typo in NullTernary.md by Johnny Lim · 6 months ago
- 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
- d78f515 Audit each use of ElementKind.LOCAL_VARIABLE, and add BINDING_VARIABLE if appropriate. by ghm · 6 months ago
- 6f94a97 Tolerate default cases in switches as being present to handle version skew by Kevin O'Connor · 6 months ago
- 0223abb Support `@LenientFormatString` in `LenientFormatStringValidation`. by ghm · 6 months ago
- cb7dfaf Remove the `Side` enum. by ghm · 6 months ago
- d64c9ce Promote error prone check TestExceptionChecker to ERROR within Google (blaze and tricorder). by Error Prone Team · 6 months ago
- c0ce475 Move `TargetType` to a top-level class alongside `ASTHelpers`. by Liam Miller-Cushon · 6 months ago
- 90b8efb Allow binding to BINDING_VARIABLEs in GuardedByBinder. by ghm · 6 months ago
- 62b8d6e Remove ~half the tests in StatementSwitchToExpressionSwitchTest. by ghm · 6 months ago
- cdc601b Extract the test enums to a common place to reduce duplication in each test. by ghm · 6 months ago
- 8dd0f95 a constant `SDK_INT` is not by Liam Miller-Cushon · 6 months ago
- 103dcbd Improve CheckedExceptionNotThrown diagnostic position by Liam Miller-Cushon · 6 months ago
- 0daf096 Move `PreconditionsExpensiveString` to core Error Prone by Liam Miller-Cushon · 6 months ago
- 3fcb599 Delete Java7ApiChecker by Liam Miller-Cushon · 6 months ago
- 4389ffc Migrate another diagnostic handler to ErrorProneLog by Liam Miller-Cushon · 6 months ago
- c97c6ae Prepare for an incompatible change to Log diagnostic handlers by Liam Miller-Cushon · 6 months ago
- 96fb761 Create a checker to add NullMarked annotation to package-info files by Error Prone Team · 7 months ago
- a9ce3b2 Tidy up the JavacParser -> EndPosTable shenanigans. by ghm · 7 months ago
- 2336ea3 Only match local variables in `UnnecessaryCopy`. by ghm · 7 months ago
- 8dc9f5c Automated rollback of commit 5d49351ef45e25179be4f60a7e1f83ec50da324e. by Error Prone Team · 7 months ago
- 2517f1b Include JSpecify annotations in `-with-dependencies.jar`. by cpovirk · 7 months ago
- 5d49351 Move `TargetType` to a top-level class alongside `ASTHelpers`. by ghm · 7 months ago
- 0c0f39e [StatementSwitchToExpressionSwitch] fix bug in handling of `case null`. by markbrady · 7 months ago
- f8bf0bc Add a flag to have ConstantExpressions regard all method invocations as pure. by ghm · 7 months ago
- 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
- ee9cbd5 When deleting dead code, be aggressive and delete the surrounding comments too. by ghm · 7 months ago
- 35b2059 Suggest long, double, and float literals instead of casting ints by Liam Miller-Cushon · 7 months ago
- 25eeed6 Delete an unused parameter in ASTHelpers.getGeneratedBy by ghm · 7 months ago
- 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
- 50137c0 RedundancyRemover: Remove redundant `static` and `final` from records. by Error Prone Team · 7 months ago
- 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
- 9984d36 [StatementSwitchToExpressionSwitch] test-only change; explicitly set default flag values currently used in unit tests by markbrady · 7 months ago
- 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
- c47d3aa Make UnnecessaryAssignment actually work for assignments. by ghm · 7 months ago
- f6c9240 Remove the legacy constructor from AbstractReturnValueIgnored. by ghm · 7 months ago
- f077548 UnnecessaryCopy: flag unnecessary copies of proto List/Maps. by ghm · 7 months ago
- cf6a585 Match all constant expressions on the lhs of `lhs instanceof Foo` in PatternMatchingInstanceof. by ghm · 7 months ago
- 1087bc1 MisleadingEmptyVarargs: flag use of `thenThrow()` with no arguments. by ghm · 7 months ago
- f8cab88 Update[] by Kurt Alfred Kluever · 7 months ago
- fe573f7 Remove an unused type parameter, and a TODO. by ghm · 7 months ago
- ebbc9ca Yet more PatternMatchingInstanceof findings. by ghm · 7 months ago
- c442bf2 SetSelf: flag things of the form `proto.setFoo(proto.getFoo())`. by ghm · 7 months ago
- f425700 Add a regression test for external 4936. by ghm · 7 months ago
- 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
- 1fda009 Allow `Optional` params inside of a `GraphWrapper`. by Kurt Alfred Kluever · 7 months ago
- 69ea1ba Require types to be the same in PatternMatchingInstanceOf by Liam Miller-Cushon · 7 months ago
- 831645f Reformat with latest version of google-java-format by Liam Miller-Cushon · 7 months ago
- d7aad09 Adjust indentation of `// fall through` comments after unknown commit by Liam Miller-Cushon · 7 months ago
- 2d5a7f4 Make OverrideThrowableToString match MethodTrees by Liam Miller-Cushon · 7 months ago
- 9a28455 Reformat with latest text block style by Liam Miller-Cushon · 7 months ago
- ad18968 style: prefer https:// links in favour of http:// by Vladimir Sitnikov · 7 months ago
- e394524 Only emit StringConcatToTextBlock findings for source versions that support text blocks by Liam Miller-Cushon · 7 months ago
- ab45284 Keep some mandatory parens in PatternMatchingInstanceOf by Liam Miller-Cushon · 7 months ago
- 0eede30 Symmetrize the handling of the statements after the `if` between the negated and non-negated cases. by ghm · 7 months ago
- 1d13006 Remove dependency on error_prone_type_annotations by Niklas Gustavsson · 7 months ago
- 1966d6d Fix an NPE in StringConcatToTextBlock by Liam Miller-Cushon · 7 months ago
- 04f05c2 Add handling of `Futures.submitAsync` (static method) by Error Prone Team · 7 months ago
- 81faa5a Update JDK versions in release.yml by Liam Miller-Cushon · 7 months ago
- 62086b7 Handle multiple arguments in `thenThrow`. by ghm · 7 months ago
- 7440ff1 In StringConcatToTextBlock, don't assume that string literals always have source position information by Liam Miller-Cushon · 7 months ago
- 04fe835 Adds type_annotations back but as a relocation to annotations by Thomas Broyer · 7 months ago
- 1ad73c2 Handle `yield` in Reachability by Liam Miller-Cushon · 7 months ago
- b1b521f Sniff out the canonical constructor using detective work rather than a flag which isn't there. by ghm · 7 months ago
- 86e5c95 Optimization: Abort class scan in `JUnit4TestNotRun` if all suspicious methods have been excluded. by David P. Baker · 7 months ago
- 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
- 296fb4e Hardcode `BoxedPrimitiveEquality:ExemptStaticConstants = false`. by ghm · 7 months ago
- aee5101 Have `UAnyOf#accept` invoke `TreeVisitor#visitOther` by Rick Ossendrijver · 7 months ago
- 8c476e7 Make return of findPathFromEnclosingNodeToTopLevel @Nullable by Manu Sridharan · 7 months ago
- c124fc6 Remove separate type_annotations artifact by Liam Miller-Cushon · 7 months ago
- baf0e0a Discourage assignment expressions. by ghm · 8 months ago
- f635aa8 Improve handling of raw types by Liam Miller-Cushon · 8 months ago
- 52a3318 Make TooManyParameters analyzer ignore constructors that have @AutoFactory annotation. by Error Prone Team · 8 months ago
- ee8702c [StatementSwitchToExpressionSwitch]: for return switch conversion, fix incorrect assumption that last of multiple statements is always a return by markbrady · 8 months ago
- 9546ee4 Get Choice off Guava's Optional/Predicate/Function types. by ghm · 8 months ago
- d353a78 Add "public" to constructors in constructor_withAtInject and ignoresAutoFactory tests. by Error Prone Team · 8 months ago
- bbb0fe5 Add an explanation for PatternMatchingInstanceof by Liam Miller-Cushon · 8 months ago
- f439f9c Make NonCanonicalStaticMemberImport diagnostics more self-explanatory by Liam Miller-Cushon · 8 months ago
- a4834bd Rename methods on Choice to the corresponding Stream methods. by ghm · 8 months ago
- 82dbc53 Add handling of FutureCombiner.callAsync by Error Prone Team · 8 months ago
- eac11e5 UnusedVariable: recognise unused binding variables in instanceofs. by ghm · 8 months ago
- f01cfb5 Improve the hacky code to find the indent level of source lines. by ghm · 8 months ago
- 52cadcd Document that `IdentifierTree`s may have `null` symbols in some cases to save the next person some time. by ghm · 8 months ago
- ca5f827 More test formatting following https://github.com/google/error-prone/commit/714e49ba618f91345866848d05bd7fcc24e1c3ab by ghm · 8 months ago
- 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
- 3347997 Delete `STATIC_IMPORT_ASSERT_THAT` and just always static import `assertThat`. by Kurt Alfred Kluever · 8 months ago
- b172f9a Remove the Applier from AppliedFix. It just seems unnecessary and does not spark joy. by ghm · 8 months ago
- a99ff06 IdentifierName: support JDK 22 unnamed variables by Mikkel Kjeldsen · 8 months ago
- 714e49b Fix handling of addOutputLines. by ghm · 8 months ago
- 4c116d9 Format all of ErrorProne's sources in text blocks. by ghm · 8 months ago
- da2ddd1 Add `ImportPolicy.STATIC_IMPORT_ASSERT_THAT`, which always static imports static `assertThat`. by ghm · 8 months ago
- 0c4c46c Add a variant test where the type parameter is explicitly used in the replacement. by ghm · 8 months ago
- 8109dfe Parse the expression to establish whether it's inlineable as a member reference rather than regexping it. by ghm · 8 months ago
- e9497cd Insert parens if the thing being substituted in may require them at the replacement site. by ghm · 8 months ago
- 785b4b8 Add another broken test where the substituted code requires parens. by ghm · 8 months ago
- 0bc6e8a Restore pre-21 workaround in `PlaceholderUnificationVisitor`. by ghm · 8 months ago
- 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
- 0ddefe8 [StatementSwitchToExpressionSwitch] Bugfix handling of brace removal for return switch. Add unit test to guard. by markbrady · 8 months ago
- 6daaf67 Be less tolerant of trailing semicolons in the validator. by ghm · 8 months ago