- 74546d8 Recommend `Precondition` APIs instead of manually throwing runtime exceptions when testing against input parameters. by Kurt Alfred Kluever · 5 hours ago master
- b893034 Migrate UnrecognisedJavadocTag to new setMessage method by Liam Miller-Cushon · 9 hours ago
- 60b448e Add overload of Description.Builder.setMessage in Error Prone by Liam Miller-Cushon · 9 hours ago
- e4b37f4 Include the specific invalid javadoc tag in the diagnostic for UnrecognisedJavadocTag by Liam Miller-Cushon · 10 hours ago
- 4525e79 `TryFailRefactoring`: remove unused exception variable when the exception is not referenced in the `catch` block. by Kurt Alfred Kluever · 27 hours ago
- ff5d13c Fix `NullTernary` false positive by handling `yield` better in `TargetType`. by subhramit · 27 hours ago
- aeb8052 Allow binary expressions (like string concatenation and safe arithmetic) inside `assertThrows` lambda if their operands don't need hoisting. by Kurt Alfred Kluever · 2 days ago
- b285435 [RefactorSwitch] flip flag to enable simplification of switches by markbrady · 2 days ago
- 6ad4adf Fix an infinite recursion bug in `PreferCharsetOverload`. by Kurt Alfred Kluever · 2 days ago
- d39b583 Introduce `PreferCharsetOverload`, a new Error Prone check. by Kurt Alfred Kluever · 2 days ago
- a1c7a7c Fix a crash in AssertThrowsMinimizer by Liam Miller-Cushon · 2 days ago
- b443634 Update JDK version from 27 to 28 in CI workflow by Liam Miller-Cushon · 2 days ago
- b12b5f2 In `StringCharset`, move the description from `explanation` to `summary`. by cpovirk · 3 days ago
- a7ca02a Update `AssertThrowsUtils` to emit `var thrown = assertThrows(...)` instead of `MyException thrown = assertThrows(...)`. This aligns with best practices [] by Kurt Alfred Kluever · 3 days ago
- 6b56517 Fix handling of nested tags in UnrecognisedJavadocTag by Liam Miller-Cushon · 3 days ago
- d36e74f Remove translation of the `fail()` message into `assertThrows()`. We already filter out constant failure messages (since they don't provide any value), but there's another decent sized chunk of users who want to include the value produced by the lambda, and that's just not something `assertThrows()` can support (see b/114409026#comment19). by Kurt Alfred Kluever · 3 days ago
- c3581e9 Fix JavacFileManager compiler crash during speculative recompiles in modular projects by Liam Miller-Cushon · 3 days ago
- da1f32b Remove assignments from `assertThrows()` lambdas. A large percentage of remaining usages of the try/fail pattern assign the result of the statement to a variable, only to never use it (the assignment never happens because the statement throws). by Kurt Alfred Kluever · 4 days ago
- dee62f7 Update `AssertThrowsBlockToExpression` to re-write single `VariableTree`s into `ExpressionTree`s so they can be unblockified. by Kurt Alfred Kluever · 5 days ago
- 4939448 Only hoist the last statement into the `assertThrows()` lambda. by Kurt Alfred Kluever · 7 days ago
- 30fd05a refactor: Rename JavaLangClash bug pattern to AvoidCommonTypeNames by Kurt Alfred Kluever · 7 days ago
- 3f07787 Fix broken Java Puzzlers PDF link. by Kurt Alfred Kluever · 8 days ago
- da0af6d Fix ASTHelpersSuggestions incorrect suggestion for Symbol.packge() by Liam Miller-Cushon · 8 days ago
- 924cb63 Cache the list of `java.lang` simple names. by Kurt Alfred Kluever · 8 days ago
- d943fd8 Automatic code cleanup. by cpovirk · 8 days ago
- 7dc0e56 For unused variables, suggest the "preserve side effects" fix as the primary fix on methods that are `@CanIgnoreReturnValue`. by cpovirk · 9 days ago
- 8bc7e55 Update bugpatterns/threadsafety tests to use Java text blocks. by Error Prone Team · 9 days ago
- fbdfcd6 [ErrorProne] Introduce checker for implicitly-boxing `Comparator.comparing` key extractors by Error Prone Team · 10 days ago
- 3b5af54 Update bugpatterns/nullness tests to use Java text blocks. by Error Prone Team · 10 days ago
- 5d1df3d Handle new AST nodes for `var` types in refaster by Liam Miller-Cushon · 2 weeks ago
- 8dfbfad Allow `==` for classes that provably don't override `equals`. by cpovirk · 2 weeks ago
- 74ba421 Internal change by Liam Miller-Cushon · 2 weeks ago
- a116aaf Match on more types in ReferenceEquality by Liam Miller-Cushon · 2 weeks ago
- c29ebc0 More javadoc cleanup to ErrorProne checks. by Kurt Alfred Kluever · 2 weeks ago
- e47929c Add `VarWithPrimitive` to discourage `var` with any primitive type. by Kurt Alfred Kluever · 2 weeks ago
- 420f7d2 Add `NonCanonicalStaticMemberImport` to Klippy. by Kurt Alfred Kluever · 2 weeks ago
- bfbb454 Re-write `NonCanonicalStaticMemberImportTest` to use `BugCheckerRefactoringTestHelper` and add a test for `Mockito.any()`. by Kurt Alfred Kluever · 2 weeks ago
- a2a3aa4 Minor improvement to `EqualsIncompatibleType` wording. by Éamonn McManus · 3 weeks ago
- 31f99c9 Discourage `java.util.regex.Matcher#{hitEnd,requireEnd}` in JdkObsolete by Liam Miller-Cushon · 3 weeks ago
- 85037e0 Add some additional tests to `SingleTestParameterTest` and `PreferTestParameterTest`. by Kurt Alfred Kluever · 3 weeks ago
- c292e5e Add further tests of type substitution inlining. by Nick Glorioso · 3 weeks ago
- 2b6f0bd Improve varargs handling in `AbstractToString`. by cpovirk · 3 weeks ago
- 2ba8884 [MissingCasesInEnumSwitch] corrects false positive finding by aligning exhaustiveness logic to `IfChainToSwitch` by markbrady · 3 weeks ago
- f14358d Add `PreferTestParameter`, which suggests using `@TestParameter` instead of `@TestParameters` for exhaustive `boolean` and `enum` parameters on single-element parameterized tests. by Kurt Alfred Kluever · 3 weeks ago
- 581ee15 Make `AbstractToString` cover method references. by cpovirk · 3 weeks ago
- b55c3e5 PUBLIC: Improve warning re. JUnit3 in `JdkObsolete`. by Kurt Alfred Kluever · 3 weeks ago
- 058f57d Remove some logic for generating fixes inside List implementation classes by Liam Miller-Cushon · 3 weeks ago
- 650e8ea [MissingCasesInEnumSwitch] test-only change. Reproduces a false positive finding which will be fixed in the child CL. by markbrady · 3 weeks ago
- de512cd Detect ambiguous calls to `List.remove(int|Integer)` by Liam Miller-Cushon · 3 weeks ago
- fc23f97 Enable `AbstractToString:JoinerIterable`. by cpovirk · 4 weeks ago
- 4b08043 Allow loading cirvlist.txt file from resource. by Chaoren Lin · 4 weeks ago
- 960e04b Add gRPC's AbstractStub to WellKnownThreadSafety for EP and AL by Error Prone Team · 4 weeks ago
- 8d4c117 JUnit3 test methods in fact _can_ be `static` (and will still get run by the test runner!). by Kurt Alfred Kluever · 4 weeks ago
- 80b3101 For constructors, put the class name in the error message instead of `<init>`. by cpovirk · 4 weeks ago
- 8c01629 [ErrorProne] Support if tag used by Android by Error Prone Team · 5 weeks ago
- eb86349 Make `MemoizeConstantVisitorStateLookups` suggest `typeFromString`. by cpovirk · 5 weeks ago
- a4e705d Migrate from `sym.getKind() == ElementKind.CONSTRUCTOR` to `sym.isConstructor()`. by Kurt Alfred Kluever · 5 weeks ago
- a897160 Look up `Future` with `Elements` instead of `Symtab`. by cpovirk · 5 weeks ago
- d058354 Use `->` switches for suggested fixes in AbstractUseSwitch checks by Liam Miller-Cushon · 5 weeks ago
- 478f191 Handle `(null)` as well as `null` in TypeEqualsChecker by Liam Miller-Cushon · 5 weeks ago
- 6f96cef Refactor `ChainingConstructorIgnoresParameter` to not store mutable state in `BugChecker` fields. by cpovirk · 5 weeks ago
- e140d4c Apply `MemoizeConstantVisitorStateLookups` again after unknown commit. by cpovirk · 5 weeks ago
- de7f23b Use `typeFromString`. by cpovirk · 5 weeks ago
- 1233268 Avoid static imports that would be hidden by members of enclosing classes. by cpovirk · 5 weeks ago
- 8c03520 Remove duplicated doc for RecordAccessorInCompactConstructor by Marcono1234 · 5 weeks ago
- 6753f23 Use more records. by cpovirk · 5 weeks ago
- dd32d1d Suggest Truth in preference to tolerance-based equality for exact floating-point comparisons. by cpovirk · 5 weeks ago
- ffc26a9 Fix a bug in `JUnitMatchers.isJunit3TestCase`; JUnit3 test cases must _NOT_ be `static`. by Kurt Alfred Kluever · 5 weeks ago
- 5c89f74 Detect constructors by type instead of by name. by cpovirk · 5 weeks ago
- 6c7ce38 Detect conflicts between record components and explicit accessor methods by Liam Miller-Cushon · 5 weeks ago
- f73eb27 Recognize when `join(Iterable)` calls `toString()` on arrays, etc. by cpovirk · 5 weeks ago
- 734fe12 Include the `link` from `@RestrictedApi` in the diagnostic message. by Error Prone Team · 6 weeks ago
- 13bec96 Create a JUnit3 -> JUnit4 migration tool. by Kurt Alfred Kluever · 6 weeks ago
- 1750134 Forbid "complex" statements in `AssertThrowsMultipleStatements`. by cpovirk · 6 weeks ago
- 98ac22c Discourage @Override on record component declarations that don't override by Liam Miller-Cushon · 6 weeks ago
- 1c75a64 Stop hoisting `/* paramName= */` comments in front of the `assertThrows()` lambdas. by Kurt Alfred Kluever · 6 weeks ago
- f84df64 Extend `TypeParameterQualifier` to cover method references (`T::foo`). by cpovirk · 6 weeks ago
- 72364b3 Expand NullNeedsCastForVarargs to cover `UsingCorrespondence`. by cpovirk · 6 weeks ago
- c0c371d Add a[] by Kurt Alfred Kluever · 6 weeks ago
- 2e8a9b8 Ignore AutoValue-generated code in TypeEqualsChecker and TypeToString to avoid false positives by Liam Miller-Cushon · 6 weeks ago
- d4322c0 MisformattedTestData: fix the entire compilation unit with one finding by Liam Miller-Cushon · 6 weeks ago
- 7aaed94 Discourage use of JUnit3 via static analysis. by Kurt Alfred Kluever · 6 weeks ago
- 42c93df [IfChainToSwitch] support multiple `instanceof` patterns within the same `case`, such as `... if (x instanceof Foo || x instanceof Bar) ...` by markbrady · 6 weeks ago
- af5cc88 Preserve comments in `TryFailRefactoring` and `MissingFail`. by Kurt Alfred Kluever · 6 weeks ago
- 8d20b5c Fix bug in `MissingFail` when there's 2 try/catch blocks with identical exception variable names. by Kurt Alfred Kluever · 6 weeks ago
- 36354c9 Refactor `TryFailRefactoring` to use `SuppressibleTreePathScanner`. This allows: by Kurt Alfred Kluever · 6 weeks ago
- 0bae15b Pick a fresh name for the exception variable (if necessary) in `AssertThrowsUtils`. by Kurt Alfred Kluever · 6 weeks ago
- dd37bb3 Add a test demonstrating the bug in `TryFailRefactoring` when there are 2 try/fails in scope with the same exception variable name. by Kurt Alfred Kluever · 6 weeks ago
- a87eded Add `IfChainToSwitchTest` tests (patched from CL/904760508). by Kurt Alfred Kluever · 7 weeks ago
- ae3490c Expand regex checks to cover Truth's `StringSubject`. by cpovirk · 7 weeks ago
- cd68904 Update behavior of `Matchers.packageStartsWith(String)` so that `packageStartsWith("com.google")` will match: by Kurt Alfred Kluever · 7 weeks ago
- 598d7b5 Extend DuplicateAssertion to cover longer Truth assertion chains. by cpovirk · 7 weeks ago
- 43fcf95 Link to the latest version of `guava-testlib`. by cpovirk · 7 weeks ago
- cc04134 Fix a crash in GetClassOnAnnotation by Liam Miller-Cushon · 7 weeks ago
- 769cd20 Discourage using `toString` and `.equals` to test `TypeMirror`s for equality by Liam Miller-Cushon · 7 weeks ago
- 88c1420 Update comments for the test support added in https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8. by cpovirk · 7 weeks ago
- 7a8059e Remove references to EasyMock, which was deleted 3+ years ago (unknown commit). by Kurt Alfred Kluever · 7 weeks ago
- 0124cb1 Automatic code cleanup. by Liam Miller-Cushon · 8 weeks ago
- 2925bdf Handle `null` in `hasDirectAnnotationWithSimpleName` by Liam Miller-Cushon · 8 weeks ago
- a701646 Don't treat non-final enum fields as constant by Liam Miller-Cushon · 8 weeks ago