A mirror for futokb (https://gitlab.futo.org/keyboard)
Go to file
Cole Faust 91cb9a6acf Fix errorprone warnings that should be errors
This commit is part of a large scale change to fix errorprone
errors that have been downgraded to warnings in the android
source tree, so that they can be promoted to errors again.
The full list of changes include the following, but not all
will be present in any one individual commit:

BadAnnotationImplementation
BadShiftAmount
BanJNDI
BoxedPrimitiveEquality
ComparableType
ComplexBooleanConstant
CollectionToArraySafeParameter
ConditionalExpressionNumericPromotion
DangerousLiteralNull
DoubleBraceInitialization
DurationFrom
DurationTemporalUnit
EmptyTopLevelDeclaration
EqualsNull
EqualsReference
FormatString
FromTemporalAccessor
GetClassOnAnnotation
GetClassOnClass
HashtableContains
IdentityBinaryExpression
IdentityHashMapBoxing
InstantTemporalUnit
InvalidTimeZoneID
InvalidZoneId
IsInstanceIncompatibleType
JUnitParameterMethodNotFound
LockOnBoxedPrimitive
MathRoundIntLong
MislabeledAndroidString
MisusedDayOfYear
MissingSuperCall
MisusedWeekYear
ModifyingCollectionWithItself
NoCanIgnoreReturnValueOnClasses
NonRuntimeAnnotation
NullableOnContainingClass
NullTernary
OverridesJavaxInjectableMethod
ParcelableCreator
PeriodFrom
PreconditionsInvalidPlaceholder
ProtoBuilderReturnValueIgnored
ProtoFieldNullComparison
RandomModInteger
RectIntersectReturnValueIgnored
ReturnValueIgnored
SelfAssignment
SelfComparison
SelfEquals
SizeGreaterThanOrEqualsZero
StringBuilderInitWithChar
TreeToString
TryFailThrowable
UnnecessaryCheckNotNull
UnusedCollectionModifiedInPlace
XorPower

See https://errorprone.info/bugpatterns for more
information on the checks.

Bug: 253827323
Test: m RUN_ERROR_PRONE=true javac-check
Change-Id: I454a105ae82484a2d19aff1808e8d9dd55ba64f4
2022-10-17 11:01:42 -07:00
common [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
dictionaries Update LatinIME to comply with Android's inclusive language guidance 2020-08-12 13:07:02 +02:00
gradle/wrapper
java Fix errorprone warnings that should be errors 2022-10-17 11:01:42 -07:00
native [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
tests Fix errorprone warnings that should be errors 2022-10-17 11:01:42 -07:00
tools Fix errorprone warnings that should be errors 2022-10-17 11:01:42 -07:00
.gitignore
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to packages/inputmethods/LatinIME 2021-02-17 09:46:27 -08:00
build.gradle Migrate packages/inputmethods/LatinIME to androidx.test 2018-12-13 19:06:42 -08:00
CleanSpec.mk Move LatinIME and its lib to /product 2019-01-11 15:20:31 +00:00
gradlew
gradlew.bat
NOTICE
OWNERS Update OWNERS file 2022-02-10 01:34:32 +00:00