Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
HEAD
6c7ce38
Detect conflicts between record components and explicit accessor methods
by Liam Miller-Cushon
· 23 hours ago
master
f73eb27
Recognize when `join(Iterable)` calls `toString()` on arrays, etc.
by cpovirk
· 2 days ago
734fe12
Include the `link` from `@RestrictedApi` in the diagnostic message.
by Error Prone Team
· 2 days ago
13bec96
Create a JUnit3 -> JUnit4 migration tool.
by Kurt Alfred Kluever
· 3 days ago
1750134
Forbid "complex" statements in `AssertThrowsMultipleStatements`.
by cpovirk
· 3 days ago
98ac22c
Discourage @Override on record component declarations that don't override
by Liam Miller-Cushon
· 3 days ago
1c75a64
Stop hoisting `/* paramName= */` comments in front of the `assertThrows()` lambdas.
by Kurt Alfred Kluever
· 3 days ago
f84df64
Extend `TypeParameterQualifier` to cover method references (`T::foo`).
by cpovirk
· 6 days ago
72364b3
Expand NullNeedsCastForVarargs to cover `UsingCorrespondence`.
by cpovirk
· 6 days ago
c0c371d
Add a[]
by Kurt Alfred Kluever
· 6 days ago
2e8a9b8
Ignore AutoValue-generated code in TypeEqualsChecker and TypeToString to avoid false positives
by Liam Miller-Cushon
· 6 days ago
d4322c0
MisformattedTestData: fix the entire compilation unit with one finding
by Liam Miller-Cushon
· 7 days ago
7aaed94
Discourage use of JUnit3 via static analysis.
by Kurt Alfred Kluever
· 7 days ago
42c93df
[IfChainToSwitch] support multiple `instanceof` patterns within the same `case`, such as `... if (x instanceof Foo || x instanceof Bar) ...`
by markbrady
· 8 days ago
af5cc88
Preserve comments in `TryFailRefactoring` and `MissingFail`.
by Kurt Alfred Kluever
· 8 days ago
8d20b5c
Fix bug in `MissingFail` when there's 2 try/catch blocks with identical exception variable names.
by Kurt Alfred Kluever
· 9 days ago
36354c9
Refactor `TryFailRefactoring` to use `SuppressibleTreePathScanner`. This allows:
by Kurt Alfred Kluever
· 9 days ago
0bae15b
Pick a fresh name for the exception variable (if necessary) in `AssertThrowsUtils`.
by Kurt Alfred Kluever
· 9 days 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
· 9 days ago
a87eded
Add `IfChainToSwitchTest` tests (patched from CL/904760508).
by Kurt Alfred Kluever
· 10 days ago
ae3490c
Expand regex checks to cover Truth's `StringSubject`.
by cpovirk
· 10 days ago
cd68904
Update behavior of `Matchers.packageStartsWith(String)` so that `packageStartsWith("com.google")` will match:
by Kurt Alfred Kluever
· 10 days ago
598d7b5
Extend DuplicateAssertion to cover longer Truth assertion chains.
by cpovirk
· 13 days ago
43fcf95
Link to the latest version of `guava-testlib`.
by cpovirk
· 14 days ago
cc04134
Fix a crash in GetClassOnAnnotation
by Liam Miller-Cushon
· 14 days ago
769cd20
Discourage using `toString` and `.equals` to test `TypeMirror`s for equality
by Liam Miller-Cushon
· 14 days ago
88c1420
Update comments for the test support added in https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8.
by cpovirk
· 2 weeks ago
7a8059e
Remove references to EasyMock, which was deleted 3+ years ago (unknown commit).
by Kurt Alfred Kluever
· 2 weeks ago
0124cb1
Automatic code cleanup.
by Liam Miller-Cushon
· 2 weeks ago
2925bdf
Handle `null` in `hasDirectAnnotationWithSimpleName`
by Liam Miller-Cushon
· 2 weeks ago
a701646
Don't treat non-final enum fields as constant
by Liam Miller-Cushon
· 2 weeks ago
a8c85fa
Don't flag `Optional` parameters inside `@AutoValue.Builder`.
by Kurt Alfred Kluever
· 3 weeks ago
7f34489
Add a test demonstrating that we current flag `java.util.Optional` parameters inside `@AutoValue.Builder`'s.
by Kurt Alfred Kluever
· 3 weeks ago
39bc7f8
Improve diagnostic message and documentation for UnnecessarilyFullyQualified
by Liam Miller-Cushon
· 3 weeks ago
26982d5
Discourage directly invoking JUnit test methods.
by Kurt Alfred Kluever
· 3 weeks ago
c78d87f
Document an alternative to overriding `Throwable.equals`.
by cpovirk
· 3 weeks ago
cc35ba1
Discourage overriding `Throwable.equals()` and `hashCode()`.
by Kurt Alfred Kluever
· 3 weeks ago
ba4ccd1
[IfChainToSwitch] [StatementSwitchToExpressionSwitch] make internal records `private`
by markbrady
· 3 weeks ago
623770a
Detect dangling doc comments in NotJavadoc
by Liam Miller-Cushon
· 3 weeks ago
e6d13c5
[RefactorSwitch] flip flag to enable arrow-style switches to be converted to `return switch`es
by markbrady
· 3 weeks ago
b282fa2
Improve error message for ExposedPrivateType
by Liam Miller-Cushon
· 3 weeks ago
00d4c36
Recognize nested `{@code ...}` tags as valid.
by cpovirk
· 3 weeks ago
831da36
Fixes #5553 : Skip UnnecessaryOptionalGet when lambda parameter is unnamed
by Mirko Alicastro
· 3 weeks ago
7c4b040
Retain explicit types on LambdaExpressionTrees that are not assignments.
by Kurt Alfred Kluever
· 4 weeks ago
47bb523
Provide a better error message for empty test inputs
by Liam Miller-Cushon
· 4 weeks ago
570ac28
Discourage references to private member classes from non-private APIs
by Liam Miller-Cushon
· 4 weeks ago
af4e202
Add a unit test for `LambdaExpressionTree`s to `UnnecessaryParenthesesTest`.
by Kurt Alfred Kluever
· 4 weeks ago
30a5a30
When renaming a variable to `_`, also use `var`.
by Kurt Alfred Kluever
· 4 weeks ago
a875dd0
Improve NullArgumentForNonNullParameter to include parameter and method names in the diagnostic message.
by cpovirk
· 4 weeks ago
d9c143c
Update `UnnamedVariableTest` to show it retains the `Type` and doesn't switch to `var` (this is being done as a pre-factoring --- an uncoming change will make it re-write these to `var`).
by Kurt Alfred Kluever
· 4 weeks ago
2c12eb2
[RefactorSwitch] fix bug which can result in invalid code generation when a variable is read on the left side of an assignment
by markbrady
· 4 weeks ago
9a40f46
Fix a small typo from https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8
by Kurt Alfred Kluever
· 4 weeks ago
018b561
Extend NullArgumentForNonNullParameter to cover test code, adding special cases to allow intentional NPE tests.
by cpovirk
· 4 weeks ago
0b7b03b
Fix up some javadoc on `ModifySourceCollectionInStream.isStreamApiInvocationOnStreamSource` (see also unknown commit)
by Kurt Alfred Kluever
· 4 weeks ago
fe5a7b1
Remove old FieldMatchers API
by Liam Miller-Cushon
· 4 weeks ago
d54a1d1
Fix up some `Finally` javadocs.
by Kurt Alfred Kluever
· 4 weeks ago
d93b319
[RefactorSwitch] bugfix comment handling
by markbrady
· 5 weeks ago
ff59782
[IfChainToSwitch] cleanup redundant conditions in ternary. No functional changes.
by markbrady
· 5 weeks ago
43b6df6
Generalise DuplicateAssertion to handle check* methods.
by ghm
· 5 weeks ago
2c4346f
Fix a bug in `BooleanLiteral`: it currently suggests replacing `Boolean.FALSE` with `false` even when it's explicitly cast to a type variable `V`. This results in uncompilable code because Java doesn't allow casting a primitive boolean to a type variable (`(V) false` is invalid).
by Kurt Alfred Kluever
· 5 weeks ago
559039b
[IfChainToSwitch] doc-only change. fix typo in code comments.
by markbrady
· 5 weeks ago
393c61c
[IfChainToSwitch] enhance code generation to emit unnamed variables, when supported
by markbrady
· 5 weeks ago
337a6c8
Ban using reference equality for `MemorySegment`s.
by Kurt Alfred Kluever
· 5 weeks ago
736e704
Fix a crash in NestedInstanceOfConditions on instanceof patterns
by Liam Miller-Cushon
· 5 weeks ago
da4b5f8
Deprecate `doTest(TestMode)`
by Liam Miller-Cushon
· 5 weeks ago
a2fb842
Automatic code cleanup.
by Liam Miller-Cushon
· 5 weeks ago
9601a3c
Delete fix that suggests using Guava's deprecated `Object.equal()` method.
by Kurt Alfred Kluever
· 5 weeks ago
1e227c5
Add a[]
by Kurt Alfred Kluever
· 5 weeks ago
2d579a9
Fix a crash in DeprecatedVariable on synthetic record trees
by Liam Miller-Cushon
· 5 weeks ago
351abc2
Added an ErrorProne check to detect record accessors inside the compact canonical ctors:
by Error Prone Team
· 5 weeks ago
949be06
Automatic code cleanup.
by Liam Miller-Cushon
· 5 weeks ago
429a509
Match interfaces that override `equals` in `ReferenceEquality`
by Liam Miller-Cushon
· 5 weeks ago
ee7b7d7
Automatic code cleanup.
by Liam Miller-Cushon
· 5 weeks ago
190e452
Deprecate `AST_MATCH`
by Liam Miller-Cushon
· 5 weeks ago
6308f64
Reformat test data.
by ghm
· 5 weeks ago
ccfc176
Automatic code cleanup.
by Liam Miller-Cushon
· 5 weeks ago
1a249a7
[IfChainToSwitch] enhance domination logic to respect developing changes in JEP 530
by markbrady
· 5 weeks ago
fbcfab1
Create a helper for changing the visibility of an element
by Liam Miller-Cushon
· 5 weeks ago
111d692
Add nested-@Generated test and restore EnumLite diagnostics
by Error Prone Team
· 6 weeks ago
2eee040
Check ternary expressions in TimeUnitMismatch.
by ghm
· 6 weeks ago
f65588d
Improve InvalidLink to better handle qualified method references.
by ghm
· 6 weeks ago
5b1d3d1
Update `MisleadingEscapedSpace` to account for CRLF line endings.
by Éamonn McManus
· 6 weeks ago
73f258d
Add a comment about the limitations of InvalidLink.
by ghm
· 6 weeks ago
eee32c3
Improve error message for block tags used as inline tags.
by ghm
· 6 weeks ago
4f91e96
Update some tests for `var` position handling to pass on JDK 26
by Liam Miller-Cushon
· 6 weeks ago
17054ed
Update CheckReturnValue to recognize ignorability annotations used by the Kotlin stdlib.
by Chaoren Lin
· 6 weeks ago
b53bebf
Fix `FixedPosition` `endPosition` constructor parameter
by Petr Portnov | PROgrm_JARvis
· 6 weeks ago
0778412
Clean up and remove some redundant matchers
by Liam Miller-Cushon
· 6 weeks ago
ef81093
Also reorder imports in MisformattedTestData
by Liam Miller-Cushon
· 6 weeks ago
aa994bd
Update some expected test outputs
by Liam Miller-Cushon
· 6 weeks ago
5ebde4c
Remove `variableType(Matcher)`
by Liam Miller-Cushon
· 6 weeks ago
2e3cef7
Don't match `instanceof` expressions with patterns.
by cpovirk
· 6 weeks ago
ee5a9cb
Relax an assertion in `onlyTypeParameter`
by Liam Miller-Cushon
· 6 weeks ago
1dd9c3a
Create a new FieldMatchers API, similar to MethodMatchers
by Liam Miller-Cushon
· 6 weeks ago
4ea00ca
Simplify isJavadoccableClass
by Liam Miller-Cushon
· 6 weeks ago
bb6c75b
Remove deprecated `MethodMatchers.withSignature`
by Liam Miller-Cushon
· 6 weeks ago
7e0462a
Update some expected test outputs
by Liam Miller-Cushon
· 6 weeks ago
2961b19
Improve logic of whether or not something is a javadoccable `Class`.
by Kurt Alfred Kluever
· 7 weeks ago
a676288
Methods inside local classes are not javadoccable.
by Kurt Alfred Kluever
· 7 weeks ago
e30934a
Add MockitoBean to list of exempted variable annotations
by elyse-yao
· 7 weeks ago
Next »