Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
refs/tags/v2.47.0
afa2d04
Release Error Prone 2.47.0
by cushon
· 4 months ago
v2.47.0
bc9618a
[IfChainToSwitch] when safe mode is enabled, don't reorder cases because this can change program semantics. Update docs accordingly.
by markbrady
· 4 months ago
6cbafd3
Remove the `TypeCompatibility:UseCapture` flag.
by ghm
· 4 months ago
2b5284f
[IfChainToSwitch] Add new flag for safe mode, and emit null-handling logic when it is enabled
by markbrady
· 4 months ago
7d8cdfe
Prepare for javac API changes to AST end positions
by Liam Miller-Cushon
· 4 months ago
bd5f6ca
PUBLIC: Add obsolete APIs from Apache's `IOUtils` to `JdkObsolete`.
by Kurt Alfred Kluever
· 4 months ago
19dddd8
PUBLIC: Flag obsolete `Scanner` constructors in `JdkObsolete`.
by Kurt Alfred Kluever
· 4 months ago
ab4e7bd
Improve diagnostic message for unused parameters that are reassigned.
by ghm
· 4 months ago
0aaf576
Clean up VariableNameSameAsType
by Liam Miller-Cushon
· 4 months ago
795015f
PUBLIC: add `Formatter` and `Properties` APIs that use a `String` to represent a `Charset` to `JdkObsolete`.
by Kurt Alfred Kluever
· 4 months ago
64251e6
Detect accidental calls to `Thread.interrupted()` inside of `catch(InterruptedException e)` blocks.
by Kurt Alfred Kluever
· 4 months ago
d2e7cea
Inline WaitMatchers. This seemed a bit unnecessary, noticed in https://github.com/google/error-prone/commit/404b754a150413045eeba0ede07b3f20c6041457.
by ghm
· 4 months ago
1de7541
Only suggest ASTHelpers if it's already on the classpath
by Liam Miller-Cushon
· 4 months ago
1e1f293
InvalidBlockTag/InvalidInlineTag: allow specifying custom Javadoc tags
by ghm
· 4 months ago
6e82ea9
Prepare for end position API changes in https://bugs.openjdk.org/browse/JDK-8372948
by Liam Miller-Cushon
· 4 months ago
be57dc6
UnusedException: consistent with UnnamedVariable
by Mikkel Kjeldsen
· 4 months ago
404b754
Require that calls to `Uninterruptible.awaitUninterruptibly(Condition, ...)` appear in a loop, too.
by cpovirk
· 4 months ago
dc5b642
Add a missing space.
by ghm
· 4 months ago
dd51e80
[RefactorSwitch] add new checker to refactor arrow switches for improved readability and conciseness
by markbrady
· 4 months ago
c559208
Update assertj version in Error Prone's maven build
by Liam Miller-Cushon
· 4 months ago
b616218
Add a varargs overload for `withParametersOfType`.
by ghm
· 4 months 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
· 4 months ago
e5e11e0
Tolerate `%#s` by using a `Formattable` for the arbitrary Object case.
by ghm
· 4 months ago
4f19551
Add a test demonstrating the issue in external #5460
by ghm
· 4 months ago
2a85583
Only flag lambda types in `FUNCTIONAL_INTERFACE_TYPES_TO_CHECK`, but keep the underscore suggestion if it is.
by ghm
· 4 months ago
c07e610
Don't log speculative parse errors when resolving `@GuardedBy` expressions
by Liam Miller-Cushon
· 4 months ago
0f7f677
Add tests for UnusedMethod with overridden methods in private interfaces.
by ghm
· 4 months ago
df5534f
Special-case switch labels for enums as not being a usage.
by ghm
· 4 months ago
0cb1ec5
Delete unused imports in ErrorProne.
by ghm
· 4 months ago
376b9d6
Fix NPE in InstanceOfAndCastMatchWrongType.
by ghm
· 4 months ago
957bbc4
Remove an unused file
by Liam Miller-Cushon
· 4 months ago
4fdce10
Also warn about calls to `Thread.Builder.OfPlatform.priority` and `ThreadFactoryBuilder.setPriority`.
by cpovirk
· 5 months ago
99ffc34
Add `InnerClassMayBeStatic` as an alt name for `ClassCanBeStatic`.
by Chaoren Lin
· 5 months ago
82d81ca
Actively exit instead of waiting for any background threads to time out.
by cpovirk
· 5 months ago
73f4ebe
Add a failing test to confirm that RemoveUnusedImports does not consider unqualified case entries as redundant imports.
by ghm
· 5 months ago
48b0e0a
Replace deprecated VisitorState constructors with factory methods.
by ghm
· 5 months ago
c69fd51
Add renaming to `_` as a suggested fix in UnusedVariable
by Liam Miller-Cushon
· 5 months ago
ae12c66
Fix an @Ignored test around wildcards used to refer to type args on supertypes.
by ghm
· 5 months ago
fb07ce4
Enable a test that passes nice and long after JDK9 could cause woes.
by ghm
· 5 months ago
558b4cc
Enable a test that was fixed in https://github.com/google/error-prone/commit/b84b80c2624219894ea67ee6beee97d1ec01860b.
by ghm
· 5 months ago
83ea92a
Add a check to suggest renaming completely unused locals and lambda params to `_`
by Liam Miller-Cushon
· 5 months ago
a11e25e
Delete an ignored test, given the outcome of b/71818169 was not to change this.
by ghm
· 5 months ago
6851899
[CheckNotNullMultipleTimes] preclude descent into switch expressions
by markbrady
· 5 months ago
82d4d1d
Re-enable and fix ThreadSafeChecker tests.
by ghm
· 5 months ago
eca0f3c
Update action-gh-release to version 2.5.0
by Liam Miller-Cushon
· 5 months ago
2601319
Unignore a passing test.
by ghm
· 5 months ago
ad2ec70
simplify the wording of the `MissingDefault` summary
by Nathan Naze
· 5 months ago
6c96e8e
Implement a NullArgumentForNonNullParameter TODO related to JDK-8225377
by Liam Miller-Cushon
· 5 months ago
5b768ff
Require `-XDaddTypeAnnotationsToSymbol=true`, and remove workaround for JDK-8225377
by Liam Miller-Cushon
· 5 months ago
0e004e5
Fix a crash in DuplicateAssertion
by Liam Miller-Cushon
· 5 months ago
8cfa4e5
Add a regression test for b/472686687
by Liam Miller-Cushon
· 5 months ago
18a63d2
Avoid getDeclarationAndTypeAttributes in ClassAndMethod
by Liam Miller-Cushon
· 5 months ago
14b6481
Make `CacheLoaderNull` check for more kinds of null returns.
by cpovirk
· 5 months ago
d3a8c00
Handle sealed and non-sealed in SuggestedFixes.
by ghm
· 5 months ago
a18a78a
Make `AbstractAsyncTypeReturnsNull` use `hasDefinitelyNullBranch` instead of looking only for null literals.
by cpovirk
· 5 months ago
b1631fe
Enable some ignored tests which pass.
by ghm
· 5 months ago
3ea92c5
Add some tests around sealed/non-sealed for SuggestedFixes.addModifiers.
by ghm
· 5 months ago
3db9e8c
Make `InvalidThrowsLink` catch `{@code FooException}` as well.
by Kurt Alfred Kluever
· 5 months ago
197c3d6
Refactor SuggestedFixesTest to use text blocks and simplify test file paths.
by ghm
· 5 months ago
c606fa3
Match returns from lambdas in AbstractAsyncTypeReturnsNull.
by ghm
· 5 months ago
5902c72
Remove the backslashes that are suppressing a final newline in test data.
by cpovirk
· 5 months ago
c6b550e
Work around `sealed` still not having a `TokenKind`.
by ghm
· 5 months ago
b4e8eed
Remove AbstractMethodReturnsNull and inline its logic.
by ghm
· 5 months ago
d6304e3
Fix some TypeToString warnings in UnusedMethod.
by ghm
· 5 months ago
3f40f17
DuplicateAssertion: detect duplicated assertion lines where the argument to `assertThat` is pure.
by ghm
· 5 months ago
f57cb1b
Consider deconstruction of a record to be usage of its record component overrides.
by ghm
· 5 months ago
2961d1f
[IfChainToSwitch] refactor flow of suggested fixes; no functional change
by markbrady
· 5 months ago
51c9462
[IfChainToSwitch] rename ...StartIndex/EndIndex to ...StartPosition/EndPosition. No functional changes.
by markbrady
· 6 months ago
5a960b3
Internal change
by Liam Miller-Cushon
· 6 months ago
b2c8d69
[IfChainToSwitch] use existing library to remove parens
by markbrady
· 6 months ago
7a0f58e
Apply new [IfChainToSwitch] check to error prone codebase
by markbrady
· 6 months ago
92b7c11
Add nullmark annotation to java class only if it is not already present.
by Error Prone Team
· 6 months 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
· 6 months ago
f753448
Automatic code cleanup.
by Liam Miller-Cushon
· 6 months ago
e9d6dfd
Clean up more end position handling
by Liam Miller-Cushon
· 6 months ago
76031ce
Update JDK EA version from 26 to 27
by Liam Miller-Cushon
· 6 months ago
f3915ec
Stop implementing DiagnosticPosition in ErrorPronePosition
by Liam Miller-Cushon
· 6 months ago
08c5d78
Check enum constructor arguments in[]
by Liam Miller-Cushon
· 6 months 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
· 6 months ago
0f31221
Delegate use records to implement ErrorPronePosition
by Liam Miller-Cushon
· 6 months ago
dac693b
Remove deprecated value attribute from IncompatibleModifiers and RequiredModifiers
by Liam Miller-Cushon
· 6 months 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
· 6 months ago
5440bb4
Encapsulate DiagnosticPosition
by Liam Miller-Cushon
· 6 months ago
06c2905
Consolidate usage of `EndPosTable` in Error Prone
by Liam Miller-Cushon
· 6 months ago
b553126
Internal change
by Liam Miller-Cushon
· 6 months ago
91fca91
Remove `JUnit4TestNotRun:RemoveAssertionRequirement` flag.
by ghm
· 6 months ago
b48b240
Don't try to convert empty switches.
by ghm
· 6 months ago
3801ad7
Create a check to discourage `Scanner.useDelimiter("\\A")`
by Liam Miller-Cushon
· 6 months ago
eba5cad
Fix handling of comments on record patterns in ArgumentSelectionDefectChecker
by Liam Miller-Cushon
· 6 months ago
c233426
Catch `instant.plus/minus(nonDaysBasedPeriod)` at compile-time.
by Kurt Alfred Kluever
· 6 months ago
7a58137
Internal change
by Liam Miller-Cushon
· 6 months ago
7027d9f
Add negative test cases for AlwaysThrows with non-literal arguments.
by ghm
· 6 months ago
8669adb
Fix parameter name handling of enum constructor arguments
by Liam Miller-Cushon
· 6 months ago
679c4ac
Update end position handling
by Liam Miller-Cushon
· 6 months ago
dc1279e
AssertSameIncompatible: flag calls to assertSame/etc where the calls are guaranteed to either succeed or fail.
by ghm
· 6 months ago
24387de
Internal change
by Liam Miller-Cushon
· 6 months ago
5300dc6
Disable an InvalidLink test for a javadoc bug on JDK >= 26
by Liam Miller-Cushon
· 6 months ago
75dcd53
Fix the Optional wrapping in the description of NonCanonicalStaticMemberImport.
by ghm
· 6 months ago
10f5424
FormatStringShouldUsePlaceholders shouldn't rewrite calls with a pass-through varargs `Object[]` argument
by Liam Miller-Cushon
· 6 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
· 6 months ago
Next »