Demote severity of some error prone bug patterns to warnings
The code is not violation free, so demote the severity of these bug patterns to warning: o DefaultCharset o FutureReturnValueIgnored o UnusedException Change-Id: Ie886a4a247770a74953385f018498ac2515ed209
This commit is contained in:
parent
393074368b
commit
f3a3a2e877
|
@ -34,7 +34,7 @@ java_package_configuration(
|
||||||
"-Xep:CannotMockFinalClass:ERROR",
|
"-Xep:CannotMockFinalClass:ERROR",
|
||||||
"-Xep:ClassCanBeStatic:ERROR",
|
"-Xep:ClassCanBeStatic:ERROR",
|
||||||
"-Xep:ClassNewInstance:ERROR",
|
"-Xep:ClassNewInstance:ERROR",
|
||||||
"-Xep:DefaultCharset:ERROR",
|
"-Xep:DefaultCharset:WARN",
|
||||||
"-Xep:DoubleCheckedLocking:ERROR",
|
"-Xep:DoubleCheckedLocking:ERROR",
|
||||||
"-Xep:ElementsCountedInLoop:ERROR",
|
"-Xep:ElementsCountedInLoop:ERROR",
|
||||||
"-Xep:EqualsHashCode:ERROR",
|
"-Xep:EqualsHashCode:ERROR",
|
||||||
|
@ -44,7 +44,7 @@ java_package_configuration(
|
||||||
"-Xep:FragmentInjection:ERROR",
|
"-Xep:FragmentInjection:ERROR",
|
||||||
"-Xep:FragmentNotInstantiable:ERROR",
|
"-Xep:FragmentNotInstantiable:ERROR",
|
||||||
"-Xep:FunctionalInterfaceClash:ERROR",
|
"-Xep:FunctionalInterfaceClash:ERROR",
|
||||||
"-Xep:FutureReturnValueIgnored:ERROR",
|
"-Xep:FutureReturnValueIgnored:WARN",
|
||||||
"-Xep:GetClassOnEnum:ERROR",
|
"-Xep:GetClassOnEnum:ERROR",
|
||||||
"-Xep:ImmutableAnnotationChecker:ERROR",
|
"-Xep:ImmutableAnnotationChecker:ERROR",
|
||||||
"-Xep:ImmutableEnumChecker:ERROR",
|
"-Xep:ImmutableEnumChecker:ERROR",
|
||||||
|
@ -78,7 +78,7 @@ java_package_configuration(
|
||||||
"-Xep:TypeParameterShadowing:ERROR",
|
"-Xep:TypeParameterShadowing:ERROR",
|
||||||
"-Xep:TypeParameterUnusedInFormals:WARN",
|
"-Xep:TypeParameterUnusedInFormals:WARN",
|
||||||
"-Xep:URLEqualsHashCode:ERROR",
|
"-Xep:URLEqualsHashCode:ERROR",
|
||||||
"-Xep:UnusedException:ERROR",
|
"-Xep:UnusedException:WARN",
|
||||||
"-Xep:UnsynchronizedOverridesSynchronized:ERROR",
|
"-Xep:UnsynchronizedOverridesSynchronized:ERROR",
|
||||||
"-Xep:WaitNotInLoop:ERROR",
|
"-Xep:WaitNotInLoop:ERROR",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue