-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(deps): update dependency com.google.errorprone:error_prone_annotations to v2.27.1 #1343
chore(deps): update dependency com.google.errorprone:error_prone_annotations to v2.27.1 #1343
Conversation
eb1e32a
to
254b1fe
Compare
254b1fe
to
ae68446
Compare
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
ae68446
to
971b676
Compare
971b676
to
04e24e1
Compare
04e24e1
to
844115c
Compare
Quality Gate passedIssues Measures |
844115c
to
a174c52
Compare
…tations to v2.27.1
a174c52
to
f7cc1b9
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
Quality Gate passedIssues Measures |
This PR contains the following updates:
2.18.0
->2.27.1
Release Notes
google/error-prone (com.google.errorprone:error_prone_annotations)
v2.27.1
: Error Prone 2.27.1Compare Source
This release contains all of the changes in 2.27.0, plus a bug fix to
ClassInitializationDeadlock
(https://github.com/google/error-prone/issues/4378)Full Changelog: google/error-prone@v2.27.0...v2.27.1
v2.27.0
: Error Prone 2.27.0Compare Source
New checks:
ClassInitializationDeadlock
detects class initializers that reference subtypes of the current class, which can result in deadlocks.MockitoDoSetup
suggests usingwhen
/thenReturn
overdoReturn
/when
for additional type safety.VoidUsed
suggests using a literalnull
instead of referring to aVoid
-typed variable.Modified checks:
TruthSelfEquals
has been renamed and generalized asSelfAssertion
RedundantSetterCall
has been improved, and enabled as an error oby defaultClosed issues: #4291. #4308, #4343, #4320
Full Changelog: google/error-prone@v2.26.1...v2.27.0
v2.26.1
: Error Prone 2.26.1Changes:
com.google.errorprone.annotations
(google/error-prone@9d99ee7)Full Changelog: google/error-prone@v2.26.0...v2.26.1
v2.26.0
: Error Prone 2.26.0Changes:
module-info.java
for Java Platform Module System support, thanks to @sgammon in #4311.-XepPatchChecks
are now ignored, instead of causing a crash. Thanks to @oxkitsune in #4028.New checks:
SystemConsoleNull
: Null-checkingSystem.console()
is not a reliable way to detect if the console is connected to a terminal.EnumOrdinal
: Discourage uses ofEnum.ordinal()
Closed issues: #2649, #3908, #4028, #4311, #4314
Full Changelog: google/error-prone@v2.25.0...v2.26.0
v2.25.0
: Error Prone 2.25.0New checks:
JUnitIncompatibleType
: Detects incompatible types passed to an assertion, similar toTruthIncompatibleType
RedundantSetterCall
: Detects fields set twice in the same chained expression. Generalization of previousProtoRedundantSet
check to also handle AutoValue.Closed issues: #4195, #4224, #4228, #4248, #4249, #4251
Full Changelog: google/error-prone@v2.24.1...v2.25.0
v2.24.1
: Error Prone 2.24.1Changes:
Full Changelog: google/error-prone@v2.24.0...v2.24.1
v2.24.0
: Error Prone 2.24.0New checks:
MultipleNullnessAnnotations
: Discourage multiple nullness annotationsNullableTypeParameter
: Discourage nullness annotations on type parametersNullableWildcard
: Discourage nullness annotations on wildcardsSuperCallToObjectMethod
: Generalization ofSuperEqualsIsObjectEquals
, now covershashCode
Full Changelog: google/error-prone@v2.23.0...v2.24.0
v2.23.0
: Error Prone 2.23.0New checks:
DuplicateDateFormatField
NonFinalStaticField
StringCharset
StringFormatWithLiteral
SuperEqualsIsObjectEquals
Bug fixes and improvements: #3897, #4114, #4123
Full Changelog: google/error-prone@v2.22.0...v2.23.0
v2.22.0
: Error Prone 2.22.0We are considering raising the minimum supported JDK from JDK 11 to JDK 17 in a future release of Error Prone, see #3803. Note that using a newer JDK version to run javac during the build doesn't prevent building code that is deployed to earlier versions, for example it's supported to use the JDK 17 javac and pass
--release 11
to compile Java 11 code that is deployed to a JDK 11 runtime. If you have feedback, please comment on #3803.New checks:
ClosingStandardOutputStreams
: Prevents accidentally closingSystem.{out,err}
with try-with-resourcesTruthContainsExactlyElementsInUsage
:containsExactly
is preferred overcontainsExactlyElementsIn
when creating new iterablesUnnecessaryAsync
: detects unnecessary use of async primitives in local (and hence single-threaded) scopesReturnAtTheEndOfVoidFunction
: detects unnecessaryreturn
statements at the end ofvoid
functionsMultimapKeys
: Suggests usingkeySet()
instead of iterating overMultimap.keys()
, which does not collapse duplicatesBug fixes and improvements:
AddressSelection
(google/error-prone@44b6552)Map.get
, etc. returnnull
(#2910)@RegisterExtension
(#3892)@SuppressWarnings("all")
(#4065)UMemberSelect
from matching method parameters (#2456)// fall out
comments on expression switches (#2709)exemptPrefixes
/exemptNames
for UnusedVariable via flags (#2753)Full Changelog: google/error-prone@v2.21.1...v2.22.0
v2.21.1
: Error Prone 2.21.1Changes:
AddressSelection
to discourage APIs that convert a hostname to a single addressFull Changelog: google/error-prone@v2.21.0...v2.21.1
v2.21.0
: Error Prone 2.21.0New Checkers:
AttemptedNegativeZero
: Prevents accidental use of-0
, which is the same as0
. The floating-point negative zero is-0.0
.ICCProfileGetInstance
: Warns on uses ofICC_Profile.getInstance(String)
, due to JDK-8191622.MutableGuiceModule
: Fields in Guice modules should befinal
.NullableOptional
: Discourages@Nullable
-annotatedOptional
s.OverridingMethodInconsistentArgumentNamesChecker
: Arguments of overriding method are inconsistent with overridden method.Fixed issues: #3976, #3986, #4001, #4002, #4026, #4027
Full Changelog: google/error-prone@v2.20.0...v2.21.0
v2.20.0
: Error Prone 2.20.0Changes:
New Checkers:
InlineTrivialConstant
UnnecessaryStringBuilder
BanClassLoader
DereferenceWithNullBranch
DoNotUseRuleChain
LockOnNonEnclosingClassLiteral
MissingRefasterAnnotation
NamedLikeContextualKeyword
NonApiType
Fixes issues: #2232, #2243, #2997, #3301, #3843, #3903, #3918, #3923, #3931, #3945, #3946
Full Changelog: google/error-prone@v2.19.1...v2.20.0
v2.19.1
: Error Prone 2.19.1This release fixes a binary compatibility issue when running on JDK 11, see #3895
Full Changelog: google/error-prone@v2.19.0...v2.19.1
v2.19.0
: Error Prone 2.19.0New Checkers:
NotJavadoc
StringCaseLocaleUsage
UnnecessaryTestMethodPrefix
Fixes issues: #956, #3504, #3654, #3703, #3731, #3737, #3760, #3779, #3796, #3809, #3813
Full Changelog: google/error-prone@v2.18.0...v2.19.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.