- 795015f PUBLIC: add `Formatter` and `Properties` APIs that use a `String` to represent a `Charset` to `JdkObsolete`. by Kurt Alfred Kluever · 2 days ago master
- 64251e6 Detect accidental calls to `Thread.interrupted()` inside of `catch(InterruptedException e)` blocks. by Kurt Alfred Kluever · 2 days ago
- d2e7cea Inline WaitMatchers. This seemed a bit unnecessary, noticed in https://github.com/google/error-prone/commit/404b754a150413045eeba0ede07b3f20c6041457. by ghm · 2 days ago
- 1de7541 Only suggest ASTHelpers if it's already on the classpath by Liam Miller-Cushon · 2 days ago
- 1e1f293 InvalidBlockTag/InvalidInlineTag: allow specifying custom Javadoc tags by ghm · 2 days ago
- 6e82ea9 Prepare for end position API changes in https://bugs.openjdk.org/browse/JDK-8372948 by Liam Miller-Cushon · 2 days ago
- be57dc6 UnusedException: consistent with UnnamedVariable by Mikkel Kjeldsen · 3 days ago
- 404b754 Require that calls to `Uninterruptible.awaitUninterruptibly(Condition, ...)` appear in a loop, too. by cpovirk · 4 days ago
- dc5b642 Add a missing space. by ghm · 4 days ago
- dd51e80 [RefactorSwitch] add new checker to refactor arrow switches for improved readability and conciseness by markbrady · 4 days ago
- c559208 Update assertj version in Error Prone's maven build by Liam Miller-Cushon · 4 days ago
- b616218 Add a varargs overload for `withParametersOfType`. by ghm · 5 days ago
- 3b7c5a1 PUBLIC: Add legacy JDK APIs that accept a `String charset` to `JdkObsolete`. E.g., `URLEncoder.encoder(String, String)` should be discouraged in favor of `URLEncoder.encoder(String, Charset)`. by Kurt Alfred Kluever · 5 days ago
- e5e11e0 Tolerate `%#s` by using a `Formattable` for the arbitrary Object case. by ghm · 5 days ago
- 4f19551 Add a test demonstrating the issue in external #5460 by ghm · 5 days ago
- 2a85583 Only flag lambda types in `FUNCTIONAL_INTERFACE_TYPES_TO_CHECK`, but keep the underscore suggestion if it is. by ghm · 9 days ago
- c07e610 Don't log speculative parse errors when resolving `@GuardedBy` expressions by Liam Miller-Cushon · 10 days ago
- 0f7f677 Add tests for UnusedMethod with overridden methods in private interfaces. by ghm · 10 days ago
- df5534f Special-case switch labels for enums as not being a usage. by ghm · 11 days ago
- 0cb1ec5 Delete unused imports in ErrorProne. by ghm · 12 days ago
- 376b9d6 Fix NPE in InstanceOfAndCastMatchWrongType. by ghm · 12 days ago
- 957bbc4 Remove an unused file by Liam Miller-Cushon · 13 days ago
- 4fdce10 Also warn about calls to `Thread.Builder.OfPlatform.priority` and `ThreadFactoryBuilder.setPriority`. by cpovirk · 2 weeks ago
- 99ffc34 Add `InnerClassMayBeStatic` as an alt name for `ClassCanBeStatic`. by Chaoren Lin · 2 weeks ago
- 82d81ca Actively exit instead of waiting for any background threads to time out. by cpovirk · 2 weeks ago
- 73f4ebe Add a failing test to confirm that RemoveUnusedImports does not consider unqualified case entries as redundant imports. by ghm · 2 weeks ago
- 48b0e0a Replace deprecated VisitorState constructors with factory methods. by ghm · 2 weeks ago
- c69fd51 Add renaming to `_` as a suggested fix in UnusedVariable by Liam Miller-Cushon · 2 weeks ago
- ae12c66 Fix an @Ignored test around wildcards used to refer to type args on supertypes. by ghm · 2 weeks ago
- fb07ce4 Enable a test that passes nice and long after JDK9 could cause woes. by ghm · 2 weeks ago
- 558b4cc Enable a test that was fixed in https://github.com/google/error-prone/commit/b84b80c2624219894ea67ee6beee97d1ec01860b. by ghm · 2 weeks ago
- 83ea92a Add a check to suggest renaming completely unused locals and lambda params to `_` by Liam Miller-Cushon · 2 weeks ago
- a11e25e Delete an ignored test, given the outcome of b/71818169 was not to change this. by ghm · 3 weeks ago
- 6851899 [CheckNotNullMultipleTimes] preclude descent into switch expressions by markbrady · 3 weeks ago
- 82d4d1d Re-enable and fix ThreadSafeChecker tests. by ghm · 3 weeks ago
- eca0f3c Update action-gh-release to version 2.5.0 by Liam Miller-Cushon · 3 weeks ago
- 2601319 Unignore a passing test. by ghm · 3 weeks ago
- ad2ec70 simplify the wording of the `MissingDefault` summary by Nathan Naze · 3 weeks ago
- 6c96e8e Implement a NullArgumentForNonNullParameter TODO related to JDK-8225377 by Liam Miller-Cushon · 3 weeks ago
- 5b768ff Require `-XDaddTypeAnnotationsToSymbol=true`, and remove workaround for JDK-8225377 by Liam Miller-Cushon · 3 weeks ago
- 0e004e5 Fix a crash in DuplicateAssertion by Liam Miller-Cushon · 3 weeks ago
- 8cfa4e5 Add a regression test for b/472686687 by Liam Miller-Cushon · 3 weeks ago
- 18a63d2 Avoid getDeclarationAndTypeAttributes in ClassAndMethod by Liam Miller-Cushon · 4 weeks ago
- 14b6481 Make `CacheLoaderNull` check for more kinds of null returns. by cpovirk · 4 weeks ago
- d3a8c00 Handle sealed and non-sealed in SuggestedFixes. by ghm · 4 weeks ago
- a18a78a Make `AbstractAsyncTypeReturnsNull` use `hasDefinitelyNullBranch` instead of looking only for null literals. by cpovirk · 4 weeks ago
- b1631fe Enable some ignored tests which pass. by ghm · 4 weeks ago
- 3ea92c5 Add some tests around sealed/non-sealed for SuggestedFixes.addModifiers. by ghm · 4 weeks ago
- 3db9e8c Make `InvalidThrowsLink` catch `{@code FooException}` as well. by Kurt Alfred Kluever · 5 weeks ago
- 197c3d6 Refactor SuggestedFixesTest to use text blocks and simplify test file paths. by ghm · 5 weeks ago
- c606fa3 Match returns from lambdas in AbstractAsyncTypeReturnsNull. by ghm · 5 weeks ago
- 5902c72 Remove the backslashes that are suppressing a final newline in test data. by cpovirk · 5 weeks ago
- c6b550e Work around `sealed` still not having a `TokenKind`. by ghm · 5 weeks ago
- b4e8eed Remove AbstractMethodReturnsNull and inline its logic. by ghm · 5 weeks ago
- d6304e3 Fix some TypeToString warnings in UnusedMethod. by ghm · 6 weeks ago
- 3f40f17 DuplicateAssertion: detect duplicated assertion lines where the argument to `assertThat` is pure. by ghm · 6 weeks ago
- f57cb1b Consider deconstruction of a record to be usage of its record component overrides. by ghm · 6 weeks ago
- 2961d1f [IfChainToSwitch] refactor flow of suggested fixes; no functional change by markbrady · 6 weeks ago
- 51c9462 [IfChainToSwitch] rename ...StartIndex/EndIndex to ...StartPosition/EndPosition. No functional changes. by markbrady · 6 weeks ago
- 5a960b3 Internal change by Liam Miller-Cushon · 7 weeks ago
- b2c8d69 [IfChainToSwitch] use existing library to remove parens by markbrady · 7 weeks ago
- 7a0f58e Apply new [IfChainToSwitch] check to error prone codebase by markbrady · 7 weeks ago
- 92b7c11 Add nullmark annotation to java class only if it is not already present. by Error Prone Team · 7 weeks ago
- a05c98a [IfChainToSwitch] Create a new checker to suggest converting chains of if-statements into arrow switches, where feasible and helpful to readability by markbrady · 7 weeks ago
- f753448 Automatic code cleanup. by Liam Miller-Cushon · 7 weeks ago
- e9d6dfd Clean up more end position handling by Liam Miller-Cushon · 8 weeks ago
- 76031ce Update JDK EA version from 26 to 27 by Liam Miller-Cushon · 8 weeks ago
- f3915ec Stop implementing DiagnosticPosition in ErrorPronePosition by Liam Miller-Cushon · 8 weeks ago
- 08c5d78 Check enum constructor arguments in[] by Liam Miller-Cushon · 8 weeks ago
- d6984d0 Add tests and avoid dubious refactorings of pattern matching instanceofs, and take a stance in the accompanying Markdown of using this as a trick to declare a narrowly-scoped variable. by ghm · 8 weeks ago
- 0f31221 Delegate use records to implement ErrorPronePosition by Liam Miller-Cushon · 8 weeks ago
- dac693b Remove deprecated value attribute from IncompatibleModifiers and RequiredModifiers by Liam Miller-Cushon · 8 weeks ago
- dca68bc PUBLIC: Add static analysis to prevent calling `liteProtoSubject.isEqualTo(Builder)` (and un-deprecate those methods at the same time since they're now uncallable). by Kurt Alfred Kluever · 8 weeks ago
- 5440bb4 Encapsulate DiagnosticPosition by Liam Miller-Cushon · 8 weeks ago
- 06c2905 Consolidate usage of `EndPosTable` in Error Prone by Liam Miller-Cushon · 8 weeks ago
- b553126 Internal change by Liam Miller-Cushon · 8 weeks ago
- 91fca91 Remove `JUnit4TestNotRun:RemoveAssertionRequirement` flag. by ghm · 9 weeks ago
- b48b240 Don't try to convert empty switches. by ghm · 9 weeks ago
- 3801ad7 Create a check to discourage `Scanner.useDelimiter("\\A")` by Liam Miller-Cushon · 9 weeks ago
- eba5cad Fix handling of comments on record patterns in ArgumentSelectionDefectChecker by Liam Miller-Cushon · 9 weeks ago
- c233426 Catch `instant.plus/minus(nonDaysBasedPeriod)` at compile-time. by Kurt Alfred Kluever · 9 weeks ago
- 7a58137 Internal change by Liam Miller-Cushon · 9 weeks ago
- 7027d9f Add negative test cases for AlwaysThrows with non-literal arguments. by ghm · 9 weeks ago
- 8669adb Fix parameter name handling of enum constructor arguments by Liam Miller-Cushon · 9 weeks ago
- 679c4ac Update end position handling by Liam Miller-Cushon · 10 weeks ago
- dc1279e AssertSameIncompatible: flag calls to assertSame/etc where the calls are guaranteed to either succeed or fail. by ghm · 10 weeks ago
- 24387de Internal change by Liam Miller-Cushon · 10 weeks ago
- 5300dc6 Disable an InvalidLink test for a javadoc bug on JDK >= 26 by Liam Miller-Cushon · 10 weeks ago
- 75dcd53 Fix the Optional wrapping in the description of NonCanonicalStaticMemberImport. by ghm · 2 months ago
- 10f5424 FormatStringShouldUsePlaceholders shouldn't rewrite calls with a pass-through varargs `Object[]` argument by Liam Miller-Cushon · 2 months ago
- 3ef3d79 The verb form of "recursion" is "to recur", not "to recurse". Quoting my CS professor Stuart Shieber: "To recur is to occur again, while to recurse is to curse again." by David P. Baker · 2 months ago
- d41f822 Make suggested edits and take a pass over the markdown from https://github.com/google/error-prone/commit/5216a438311ed3196624926a03a81ed7ce0e92ec by ghm · 2 months ago
- 6db6f95 Do some AutoValue -> record migration. by ghm · 2 months ago
- 13a7a12 Fix a crash in LenientFormatStringUtils by Liam Miller-Cushon · 2 months ago
- 7e6e113 PUBLIC: Discourage static importing `values()`. by Kurt Alfred Kluever · 2 months ago
- cc1e3bf [StatementSwitchToExpressionSwitch] add support for patterns and guards in old-style (colon) switches. by markbrady · 2 months ago
- 9360e40 Use `VisitorState.memoize` for common type suppliers, to minimize (slower) calls to `getTypeFromString` by markbrady · 2 months ago
- 885b213 Update format strings to use placeholders by Liam Miller-Cushon · 2 months ago
- 450126a Open-source Java21 matchers. by ghm · 3 months ago
- f101473 Recognize that `checkPositionIndex` isn't a lenient-format-string method, either. by cpovirk · 3 months ago