Thanks to visit codestin.com
Credit goes to chromium.googlesource.com
Sign in
chromium
/
external
/
github.com
/
google
/
error-prone
/
refs/heads/master
5d1df3d
Handle new AST nodes for `var` types in refaster
by Liam Miller-Cushon
· 3 days ago
master
8dfbfad
Allow `==` for classes that provably don't override `equals`.
by cpovirk
· 4 days ago
74ba421
Internal change
by Liam Miller-Cushon
· 4 days ago
a116aaf
Match on more types in ReferenceEquality
by Liam Miller-Cushon
· 6 days ago
c29ebc0
More javadoc cleanup to ErrorProne checks.
by Kurt Alfred Kluever
· 6 days ago
e47929c
Add `VarWithPrimitive` to discourage `var` with any primitive type.
by Kurt Alfred Kluever
· 6 days ago
420f7d2
Add `NonCanonicalStaticMemberImport` to Klippy.
by Kurt Alfred Kluever
· 6 days ago
bfbb454
Re-write `NonCanonicalStaticMemberImportTest` to use `BugCheckerRefactoringTestHelper` and add a test for `Mockito.any()`.
by Kurt Alfred Kluever
· 6 days ago
a2a3aa4
Minor improvement to `EqualsIncompatibleType` wording.
by Éamonn McManus
· 9 days ago
31f99c9
Discourage `java.util.regex.Matcher#{hitEnd,requireEnd}` in JdkObsolete
by Liam Miller-Cushon
· 10 days ago
85037e0
Add some additional tests to `SingleTestParameterTest` and `PreferTestParameterTest`.
by Kurt Alfred Kluever
· 10 days ago
c292e5e
Add further tests of type substitution inlining.
by Nick Glorioso
· 10 days ago
2b6f0bd
Improve varargs handling in `AbstractToString`.
by cpovirk
· 11 days ago
2ba8884
[MissingCasesInEnumSwitch] corrects false positive finding by aligning exhaustiveness logic to `IfChainToSwitch`
by markbrady
· 12 days ago
f14358d
Add `PreferTestParameter`, which suggests using `@TestParameter` instead of `@TestParameters` for exhaustive `boolean` and `enum` parameters on single-element parameterized tests.
by Kurt Alfred Kluever
· 12 days ago
581ee15
Make `AbstractToString` cover method references.
by cpovirk
· 12 days ago
b55c3e5
PUBLIC: Improve warning re. JUnit3 in `JdkObsolete`.
by Kurt Alfred Kluever
· 13 days ago
058f57d
Remove some logic for generating fixes inside List implementation classes
by Liam Miller-Cushon
· 13 days ago
650e8ea
[MissingCasesInEnumSwitch] test-only change. Reproduces a false positive finding which will be fixed in the child CL.
by markbrady
· 13 days ago
de512cd
Detect ambiguous calls to `List.remove(int|Integer)`
by Liam Miller-Cushon
· 13 days ago
fc23f97
Enable `AbstractToString:JoinerIterable`.
by cpovirk
· 13 days ago
4b08043
Allow loading cirvlist.txt file from resource.
by Chaoren Lin
· 14 days ago
960e04b
Add gRPC's AbstractStub to WellKnownThreadSafety for EP and AL
by Error Prone Team
· 3 weeks ago
8d4c117
JUnit3 test methods in fact _can_ be `static` (and will still get run by the test runner!).
by Kurt Alfred Kluever
· 3 weeks ago
80b3101
For constructors, put the class name in the error message instead of `<init>`.
by cpovirk
· 3 weeks ago
8c01629
[ErrorProne] Support if tag used by Android
by Error Prone Team
· 3 weeks ago
eb86349
Make `MemoizeConstantVisitorStateLookups` suggest `typeFromString`.
by cpovirk
· 3 weeks ago
a4e705d
Migrate from `sym.getKind() == ElementKind.CONSTRUCTOR` to `sym.isConstructor()`.
by Kurt Alfred Kluever
· 3 weeks ago
a897160
Look up `Future` with `Elements` instead of `Symtab`.
by cpovirk
· 3 weeks ago
d058354
Use `->` switches for suggested fixes in AbstractUseSwitch checks
by Liam Miller-Cushon
· 3 weeks ago
478f191
Handle `(null)` as well as `null` in TypeEqualsChecker
by Liam Miller-Cushon
· 3 weeks ago
6f96cef
Refactor `ChainingConstructorIgnoresParameter` to not store mutable state in `BugChecker` fields.
by cpovirk
· 3 weeks ago
e140d4c
Apply `MemoizeConstantVisitorStateLookups` again after unknown commit.
by cpovirk
· 3 weeks ago
de7f23b
Use `typeFromString`.
by cpovirk
· 3 weeks ago
1233268
Avoid static imports that would be hidden by members of enclosing classes.
by cpovirk
· 3 weeks ago
8c03520
Remove duplicated doc for RecordAccessorInCompactConstructor
by Marcono1234
· 3 weeks ago
6753f23
Use more records.
by cpovirk
· 3 weeks ago
dd32d1d
Suggest Truth in preference to tolerance-based equality for exact floating-point comparisons.
by cpovirk
· 3 weeks ago
ffc26a9
Fix a bug in `JUnitMatchers.isJunit3TestCase`; JUnit3 test cases must _NOT_ be `static`.
by Kurt Alfred Kluever
· 3 weeks ago
5c89f74
Detect constructors by type instead of by name.
by cpovirk
· 4 weeks ago
6c7ce38
Detect conflicts between record components and explicit accessor methods
by Liam Miller-Cushon
· 4 weeks ago
f73eb27
Recognize when `join(Iterable)` calls `toString()` on arrays, etc.
by cpovirk
· 4 weeks ago
734fe12
Include the `link` from `@RestrictedApi` in the diagnostic message.
by Error Prone Team
· 4 weeks ago
13bec96
Create a JUnit3 -> JUnit4 migration tool.
by Kurt Alfred Kluever
· 4 weeks ago
1750134
Forbid "complex" statements in `AssertThrowsMultipleStatements`.
by cpovirk
· 4 weeks ago
98ac22c
Discourage @Override on record component declarations that don't override
by Liam Miller-Cushon
· 4 weeks ago
1c75a64
Stop hoisting `/* paramName= */` comments in front of the `assertThrows()` lambdas.
by Kurt Alfred Kluever
· 4 weeks ago
f84df64
Extend `TypeParameterQualifier` to cover method references (`T::foo`).
by cpovirk
· 4 weeks ago
72364b3
Expand NullNeedsCastForVarargs to cover `UsingCorrespondence`.
by cpovirk
· 4 weeks ago
c0c371d
Add a[]
by Kurt Alfred Kluever
· 4 weeks ago
2e8a9b8
Ignore AutoValue-generated code in TypeEqualsChecker and TypeToString to avoid false positives
by Liam Miller-Cushon
· 4 weeks ago
d4322c0
MisformattedTestData: fix the entire compilation unit with one finding
by Liam Miller-Cushon
· 5 weeks ago
7aaed94
Discourage use of JUnit3 via static analysis.
by Kurt Alfred Kluever
· 5 weeks ago
42c93df
[IfChainToSwitch] support multiple `instanceof` patterns within the same `case`, such as `... if (x instanceof Foo || x instanceof Bar) ...`
by markbrady
· 5 weeks ago
af5cc88
Preserve comments in `TryFailRefactoring` and `MissingFail`.
by Kurt Alfred Kluever
· 5 weeks ago
8d20b5c
Fix bug in `MissingFail` when there's 2 try/catch blocks with identical exception variable names.
by Kurt Alfred Kluever
· 5 weeks ago
36354c9
Refactor `TryFailRefactoring` to use `SuppressibleTreePathScanner`. This allows:
by Kurt Alfred Kluever
· 5 weeks ago
0bae15b
Pick a fresh name for the exception variable (if necessary) in `AssertThrowsUtils`.
by Kurt Alfred Kluever
· 5 weeks 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
· 5 weeks ago
a87eded
Add `IfChainToSwitchTest` tests (patched from CL/904760508).
by Kurt Alfred Kluever
· 5 weeks ago
ae3490c
Expand regex checks to cover Truth's `StringSubject`.
by cpovirk
· 5 weeks ago
cd68904
Update behavior of `Matchers.packageStartsWith(String)` so that `packageStartsWith("com.google")` will match:
by Kurt Alfred Kluever
· 5 weeks ago
598d7b5
Extend DuplicateAssertion to cover longer Truth assertion chains.
by cpovirk
· 5 weeks ago
43fcf95
Link to the latest version of `guava-testlib`.
by cpovirk
· 6 weeks ago
cc04134
Fix a crash in GetClassOnAnnotation
by Liam Miller-Cushon
· 6 weeks ago
769cd20
Discourage using `toString` and `.equals` to test `TypeMirror`s for equality
by Liam Miller-Cushon
· 6 weeks ago
88c1420
Update comments for the test support added in https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8.
by cpovirk
· 6 weeks ago
7a8059e
Remove references to EasyMock, which was deleted 3+ years ago (unknown commit).
by Kurt Alfred Kluever
· 6 weeks ago
0124cb1
Automatic code cleanup.
by Liam Miller-Cushon
· 6 weeks ago
2925bdf
Handle `null` in `hasDirectAnnotationWithSimpleName`
by Liam Miller-Cushon
· 6 weeks ago
a701646
Don't treat non-final enum fields as constant
by Liam Miller-Cushon
· 6 weeks ago
a8c85fa
Don't flag `Optional` parameters inside `@AutoValue.Builder`.
by Kurt Alfred Kluever
· 6 weeks ago
7f34489
Add a test demonstrating that we current flag `java.util.Optional` parameters inside `@AutoValue.Builder`'s.
by Kurt Alfred Kluever
· 6 weeks ago
39bc7f8
Improve diagnostic message and documentation for UnnecessarilyFullyQualified
by Liam Miller-Cushon
· 6 weeks ago
26982d5
Discourage directly invoking JUnit test methods.
by Kurt Alfred Kluever
· 7 weeks ago
c78d87f
Document an alternative to overriding `Throwable.equals`.
by cpovirk
· 7 weeks ago
cc35ba1
Discourage overriding `Throwable.equals()` and `hashCode()`.
by Kurt Alfred Kluever
· 7 weeks ago
ba4ccd1
[IfChainToSwitch] [StatementSwitchToExpressionSwitch] make internal records `private`
by markbrady
· 7 weeks ago
623770a
Detect dangling doc comments in NotJavadoc
by Liam Miller-Cushon
· 7 weeks ago
e6d13c5
[RefactorSwitch] flip flag to enable arrow-style switches to be converted to `return switch`es
by markbrady
· 7 weeks ago
b282fa2
Improve error message for ExposedPrivateType
by Liam Miller-Cushon
· 7 weeks ago
00d4c36
Recognize nested `{@code ...}` tags as valid.
by cpovirk
· 7 weeks ago
831da36
Fixes #5553 : Skip UnnecessaryOptionalGet when lambda parameter is unnamed
by Mirko Alicastro
· 7 weeks ago
7c4b040
Retain explicit types on LambdaExpressionTrees that are not assignments.
by Kurt Alfred Kluever
· 7 weeks ago
47bb523
Provide a better error message for empty test inputs
by Liam Miller-Cushon
· 7 weeks ago
570ac28
Discourage references to private member classes from non-private APIs
by Liam Miller-Cushon
· 7 weeks ago
af4e202
Add a unit test for `LambdaExpressionTree`s to `UnnecessaryParenthesesTest`.
by Kurt Alfred Kluever
· 7 weeks ago
30a5a30
When renaming a variable to `_`, also use `var`.
by Kurt Alfred Kluever
· 7 weeks ago
a875dd0
Improve NullArgumentForNonNullParameter to include parameter and method names in the diagnostic message.
by cpovirk
· 7 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
· 8 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
· 8 weeks ago
9a40f46
Fix a small typo from https://github.com/google/error-prone/commit/018b56163d2e1e2b9ada32b6504c2ae2c8f049c8
by Kurt Alfred Kluever
· 8 weeks ago
018b561
Extend NullArgumentForNonNullParameter to cover test code, adding special cases to allow intentional NPE tests.
by cpovirk
· 8 weeks ago
0b7b03b
Fix up some javadoc on `ModifySourceCollectionInStream.isStreamApiInvocationOnStreamSource` (see also unknown commit)
by Kurt Alfred Kluever
· 8 weeks ago
fe5a7b1
Remove old FieldMatchers API
by Liam Miller-Cushon
· 8 weeks ago
d54a1d1
Fix up some `Finally` javadocs.
by Kurt Alfred Kluever
· 8 weeks ago
d93b319
[RefactorSwitch] bugfix comment handling
by markbrady
· 8 weeks ago
ff59782
[IfChainToSwitch] cleanup redundant conditions in ternary. No functional changes.
by markbrady
· 9 weeks ago
43b6df6
Generalise DuplicateAssertion to handle check* methods.
by ghm
· 9 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
· 9 weeks ago
Next »