Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
HEAD
7c4b040
Retain explicit types on LambdaExpressionTrees that are not assignments.
by Kurt Alfred Kluever
· 2 days ago
master
47bb523
Provide a better error message for empty test inputs
by Liam Miller-Cushon
· 2 days ago
570ac28
Discourage references to private member classes from non-private APIs
by Liam Miller-Cushon
· 2 days ago
af4e202
Add a unit test for `LambdaExpressionTree`s to `UnnecessaryParenthesesTest`.
by Kurt Alfred Kluever
· 3 days ago
30a5a30
When renaming a variable to `_`, also use `var`.
by Kurt Alfred Kluever
· 3 days ago
a875dd0
Improve NullArgumentForNonNullParameter to include parameter and method names in the diagnostic message.
by cpovirk
· 3 days 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 days 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 days ago
9a40f46
Fix a small typo from https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8
by Kurt Alfred Kluever
· 4 days ago
018b561
Extend NullArgumentForNonNullParameter to cover test code, adding special cases to allow intentional NPE tests.
by cpovirk
· 5 days ago
0b7b03b
Fix up some javadoc on `ModifySourceCollectionInStream.isStreamApiInvocationOnStreamSource` (see also unknown commit)
by Kurt Alfred Kluever
· 6 days ago
fe5a7b1
Remove old FieldMatchers API
by Liam Miller-Cushon
· 6 days ago
d54a1d1
Fix up some `Finally` javadocs.
by Kurt Alfred Kluever
· 6 days ago
d93b319
[RefactorSwitch] bugfix comment handling
by markbrady
· 10 days ago
ff59782
[IfChainToSwitch] cleanup redundant conditions in ternary. No functional changes.
by markbrady
· 10 days ago
43b6df6
Generalise DuplicateAssertion to handle check* methods.
by ghm
· 10 days 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
· 10 days ago
559039b
[IfChainToSwitch] doc-only change. fix typo in code comments.
by markbrady
· 11 days ago
393c61c
[IfChainToSwitch] enhance code generation to emit unnamed variables, when supported
by markbrady
· 11 days ago
337a6c8
Ban using reference equality for `MemorySegment`s.
by Kurt Alfred Kluever
· 11 days ago
736e704
Fix a crash in NestedInstanceOfConditions on instanceof patterns
by Liam Miller-Cushon
· 11 days ago
da4b5f8
Deprecate `doTest(TestMode)`
by Liam Miller-Cushon
· 11 days ago
a2fb842
Automatic code cleanup.
by Liam Miller-Cushon
· 11 days ago
9601a3c
Delete fix that suggests using Guava's deprecated `Object.equal()` method.
by Kurt Alfred Kluever
· 11 days ago
1e227c5
Add a[]
by Kurt Alfred Kluever
· 11 days ago
2d579a9
Fix a crash in DeprecatedVariable on synthetic record trees
by Liam Miller-Cushon
· 12 days ago
351abc2
Added an ErrorProne check to detect record accessors inside the compact canonical ctors:
by Error Prone Team
· 12 days ago
949be06
Automatic code cleanup.
by Liam Miller-Cushon
· 12 days ago
429a509
Match interfaces that override `equals` in `ReferenceEquality`
by Liam Miller-Cushon
· 12 days ago
ee7b7d7
Automatic code cleanup.
by Liam Miller-Cushon
· 12 days ago
190e452
Deprecate `AST_MATCH`
by Liam Miller-Cushon
· 12 days ago
6308f64
Reformat test data.
by ghm
· 12 days ago
ccfc176
Automatic code cleanup.
by Liam Miller-Cushon
· 13 days ago
1a249a7
[IfChainToSwitch] enhance domination logic to respect developing changes in JEP 530
by markbrady
· 13 days ago
fbcfab1
Create a helper for changing the visibility of an element
by Liam Miller-Cushon
· 13 days ago
111d692
Add nested-@Generated test and restore EnumLite diagnostics
by Error Prone Team
· 2 weeks ago
2eee040
Check ternary expressions in TimeUnitMismatch.
by ghm
· 2 weeks ago
f65588d
Improve InvalidLink to better handle qualified method references.
by ghm
· 2 weeks ago
5b1d3d1
Update `MisleadingEscapedSpace` to account for CRLF line endings.
by Éamonn McManus
· 2 weeks ago
73f258d
Add a comment about the limitations of InvalidLink.
by ghm
· 2 weeks ago
eee32c3
Improve error message for block tags used as inline tags.
by ghm
· 2 weeks ago
4f91e96
Update some tests for `var` position handling to pass on JDK 26
by Liam Miller-Cushon
· 3 weeks ago
17054ed
Update CheckReturnValue to recognize ignorability annotations used by the Kotlin stdlib.
by Chaoren Lin
· 3 weeks ago
b53bebf
Fix `FixedPosition` `endPosition` constructor parameter
by Petr Portnov | PROgrm_JARvis
· 3 weeks ago
0778412
Clean up and remove some redundant matchers
by Liam Miller-Cushon
· 3 weeks ago
ef81093
Also reorder imports in MisformattedTestData
by Liam Miller-Cushon
· 3 weeks ago
aa994bd
Update some expected test outputs
by Liam Miller-Cushon
· 3 weeks ago
5ebde4c
Remove `variableType(Matcher)`
by Liam Miller-Cushon
· 3 weeks ago
2e3cef7
Don't match `instanceof` expressions with patterns.
by cpovirk
· 3 weeks ago
ee5a9cb
Relax an assertion in `onlyTypeParameter`
by Liam Miller-Cushon
· 3 weeks ago
1dd9c3a
Create a new FieldMatchers API, similar to MethodMatchers
by Liam Miller-Cushon
· 3 weeks ago
4ea00ca
Simplify isJavadoccableClass
by Liam Miller-Cushon
· 3 weeks ago
bb6c75b
Remove deprecated `MethodMatchers.withSignature`
by Liam Miller-Cushon
· 3 weeks ago
7e0462a
Update some expected test outputs
by Liam Miller-Cushon
· 3 weeks ago
2961b19
Improve logic of whether or not something is a javadoccable `Class`.
by Kurt Alfred Kluever
· 3 weeks ago
a676288
Methods inside local classes are not javadoccable.
by Kurt Alfred Kluever
· 3 weeks ago
e30934a
Add MockitoBean to list of exempted variable annotations
by elyse-yao
· 3 weeks ago
837f510
Add a test that demonstrates that `AlmostJavadoc` fires on methods inside local classes (and leaves a TODO to fix it).
by Kurt Alfred Kluever
· 3 weeks ago
5369133
Flag javadoc on `record` components.
by Kurt Alfred Kluever
· 3 weeks ago
1e200c1
Convert `doubleJavadoc()` to a textblock.
by Kurt Alfred Kluever
· 3 weeks ago
d4a4d7d
Add a unit test for a local class with a javadoc'ed method.
by Kurt Alfred Kluever
· 3 weeks ago
d1616e0
AssertThrowsMinimizer: handle varargs, allow casts from `null`
by Liam Miller-Cushon
· 3 weeks ago
43dbf79
Add some tests that verify that `NotJavadoc` doesn't already cover `record` components.
by Kurt Alfred Kluever
· 3 weeks ago
a98a1c5
Create alternatives to `withSignature` for varargs and type parameters
by Liam Miller-Cushon
· 3 weeks ago
a05765d
Replace some anonymous classes with lambdas
by Liam Miller-Cushon
· 3 weeks ago
b527d95
Expand explanation of `ErrorProneCommentStyle`.
by Kurt Alfred Kluever
· 4 weeks ago
0dbf04a
fix: support implicit `@MethodSource` to `UnusedMethod`
by Petr Portnov | PROgrm_JARvis
· 4 weeks ago
43f6a73
Import mockito/mockito from GitHub.
by Kurt Alfred Kluever
· 4 weeks ago
e951dcd
Flag time unit mismatches in method references.
by ghm
· 4 weeks ago
6671d19
Handle wildcard types in `SuggestedFixes.qualifyType`
by Liam Miller-Cushon
· 4 weeks ago
9c3acc0
PUBLIC: Internal change.
by Kurt Alfred Kluever
· 4 weeks ago
9ffbb3d
Fix a null pointer introduced in ConstantExpressions recently
by Error Prone Team
· 4 weeks ago
c1e4306
Add a unit test for `AssertThrowsMinimizerTest` that constructs an `Optional` inside the lambdas.
by Kurt Alfred Kluever
· 4 weeks ago
11adec2
Add an assertThrows heuristic for `RpcAuthority.self()`
by Liam Miller-Cushon
· 4 weeks ago
f82be2d
Make `enclosingPackage` return an optional
by Liam Miller-Cushon
· 4 weeks ago
e287e9a
Prototype of a classic javadoc to marktown javadoc migration tool.
by Kurt Alfred Kluever
· 4 weeks ago
cc65a4e
Discourage unnecessary block lambdas in assertThrows
by Liam Miller-Cushon
· 4 weeks ago
cda0d92
`RuntimeException` is a subtype of `Exception`, so acknowledge that `Exception` implicitly catches runtime exceptions.
by ghm
· 4 weeks ago
230fe2e
Migrate from `variableType(Matcher)` to `variableType(TypePredicate)`
by Liam Miller-Cushon
· 4 weeks ago
1aed17d
Prepare for an upcoming change to the javac AST in JDK-8268850
by Liam Miller-Cushon
· 4 weeks ago
cf67393
Add an explanation for AssertThrowsMinimizer
by Liam Miller-Cushon
· 4 weeks ago
1c87a3e
AssertThrowsMinimizer: don't hoist lambdas or equivalent anonymous classes, or new array expressions
by Liam Miller-Cushon
· 5 weeks ago
a628f81
Restrict hoisting in AssertThrowsMinimizer when asserting checked exceptions.
by ghm
· 5 weeks ago
57134a0
Add `PreferThrowsTag` which recommends using `@throws` instead of the legacy `@exception` javadoc tag.
by Kurt Alfred Kluever
· 5 weeks ago
e0e6f55
Don't hoist anything with a compile-time constant value
by Liam Miller-Cushon
· 5 weeks ago
d06d1d8
Add `throws` clauses when necessary when hoisting exceptions.
by ghm
· 5 weeks ago
6300696
[RefactorSwitch] flip flag to enable arrow-style switches to be converted to assignment switches
by markbrady
· 5 weeks ago
8c1a6bb
Extend TimeUnitMismatch to check return statements.
by ghm
· 5 weeks ago
3e83d8b
Remove unused DiscardingFileDestination class
by Liam Miller-Cushon
· 5 weeks ago
f7bf1b5
Add more heuristics to AssertThrowsMinimizer
by Liam Miller-Cushon
· 5 weeks ago
1bfb5ef
[IfChainToSwitch] Refine analysis of `break`s and `yield`s to enable additional conversions to `switch`
by markbrady
· 5 weeks ago
5032045
[IfChainToSwitch] add unit tests for handling of duplicated patterns
by markbrady
· 5 weeks ago
6dae535
[IfChainToSwitch] bugfix: when a guard is present and `true`, must be treated as an unguarded pattern
by markbrady
· 5 weeks ago
b4c5535
[IfChainToSwitch] bugfix to not attempt transformation when `null` is duplicated
by markbrady
· 5 weeks ago
7ce6b74
[StatementSwitchToExpressionSwitch] Refactor shared logic into SwitchUtils. No functional changes.
by markbrady
· 5 weeks ago
d25ab8d
Fix typo.
by cpovirk
· 5 weeks ago
5b5fb4e
[IfChainToSwitch] bugfix to ensure that in generated code, any local variable referenced (but not declared in) a guard is effectively final
by markbrady
· 5 weeks ago
16e7d00
Special-case RpcClientContext.create() as something that doesn't need hoisting.
by ghm
· 5 weeks ago
f8bca16
Remove unused fix application logic
by Liam Miller-Cushon
· 5 weeks ago
5b2391c
AssertThrowsMinimizer: process an entire method at a time to create unique variable names
by Liam Miller-Cushon
· 5 weeks ago
Next »