Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
refs/tags/v2.48.0
7cec0a0
Release Error Prone 2.48.0
by cushon
· 3 months ago
v2.48.0
01c603a
Extend MissingTestCall to check for member references.
by ghm
· 3 months ago
3d817b0
Handle `var` in `UnnecessaryBoxedVariable`
by Liam Miller-Cushon
· 3 months ago
ad26f3e
Add `ConcurrentHashMap.keys()` and `ConcurrentHashMap.elements()` to `JdkObsolete`.
by Kurt Alfred Kluever
· 3 months ago
7926dbc
Fix MustBeClosedChecker crash on flexible constructors.
by ghm
· 3 months ago
d08f003
Check for jakarta annotations in DI checks
by Liam Miller-Cushon
· 3 months ago
171448c
Add android internal GuardedBy to ACCEPTED_GUARDED_BY_ANNOTATIONS
by Error Prone Team
· 3 months ago
5cb6075
Remove the `MissingTestCall:MatchGraphVerify` flag.
by ghm
· 3 months ago
ab81681
Improve crash messages for fixes that don't apply
by Liam Miller-Cushon
· 3 months ago
fe9bb21
Add a test to confirm that TimeUnitMismatch catches `seconds * 1000 + nanos / 1000`.
by ghm
· 3 months ago
dc145fc
[IfChainToSwitch] refactor common switch logic into `SwitchUtils` library. No functional changes
by markbrady
· 3 months ago
4044102
Strip internal style guide reference from SuppressWarningsWithoutExplanation
by Liam Miller-Cushon
· 3 months ago
6952175
Remove the `TimeUnitMismatch:improvements` flag.
by ghm
· 3 months ago
f16d31c
Add documentation for the UnnecessaryCopy
by Liam Miller-Cushon
· 3 months ago
b944275
Fix a crash in Varifier.
by ghm
· 3 months ago
f5d542e
Upgrade protobuf version to 4.x
by Liam Miller-Cushon
· 3 months ago
ff3255e
Avoid clobbering in-scope things of the same name when inventing a name in PatternMatchingInstanceof.
by ghm
· 3 months ago
c7ae7e1
Handle `$` in IdentifierName
by Liam Miller-Cushon
· 3 months ago
4ba14b4
[IfChainToSwitch] when safe mode is enabled, enforce strict matching of predicates in the if-chain; disallows method invocations etc. because converting these can change semantics
by markbrady
· 3 months ago
5d2f535
[IfChainToSwitch] refactor `InstanceOfIr` to use `Optional` instead of `@Nullable`, like in the rest of the rest of this class
by markbrady
· 3 months ago
0b810bf
Refactor Github Action per b/485167538
by Ben Knutson
· 3 months ago
b55cc2c
Improve diagnostic message for unused enum constant imports in switch statements.
by ghm
· 3 months ago
a82cf62
Add parentheses around replacements in UnnecessaryStringBuilder when necessary.
by ghm
· 3 months ago
8e84edf
Allow the use of a configuration file to pass flags
by Error Prone Team
· 3 months ago
b48ff53
Update google-java-format version
by Liam Miller-Cushon
· 3 months ago
5a29522
Fail tests if the actual or expected output fails to format
by Liam Miller-Cushon
· 3 months ago
5d4739b
Add an Error Prone check to discourage using proto enum `setFooValue` methods.
by ghm
· 3 months ago
28b9d12
Tweak to AddNullMarkedToClassAddNullMarkedToClass documentation
by Liam Miller-Cushon
· 3 months ago
5911e74
Add documentation for AddNullMarkedToClass and AddNullMarkedToPackageInfo
by Error Prone Team
· 3 months ago
e32133c
Replace checks for NOPOS end positions with hasExplicitSource.
by Liam Miller-Cushon
· 3 months ago
c8b81e1
Fix incorrect NullableOnContainingClass findings on `var` lambda parameters
by Liam Miller-Cushon
· 3 months ago
19da59d
Skip `SetUnrecognized` for enums with an explicit `UNRECOGNIZED` entry.
by ghm
· 4 months ago
f5c0a0b
Introduce an -Xep:JdkObsolete:AndroidMinSdkVersion flag to control which APIs to consider obsolete based on Android SDK version.
by agrieve
· 4 months ago
6237e61
Improve handling of implicit source in UnnecessarilyFullyQualified
by Liam Miller-Cushon
· 4 months ago
1f4069c
Have `MissingTestCall` enforce the constraint that `graphVerify()` must be accompanied by a `start()` call _within the same expression_.
by ghm
· 4 months ago
1bc21b9
Add a check to detect unnecessary semicolons
by Liam Miller-Cushon
· 4 months ago
d0d061e
Correct discussion of exhaustiveness checking in `->` switch statements
by Liam Miller-Cushon
· 4 months ago
b6d452d
Remove the RedundantSetterCall:Improvements flag.
by ghm
· 4 months ago
eda59fc
IdentifierName: don't crash on receiver parameters
by Liam Miller-Cushon
· 4 months ago
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
Next »