Skip to content

Commit 8eadc50

Browse files
committed
chore: add prettier-ignore comments to simplify ErrorProne compiler argument formatting
1 parent 56fc74e commit 8eadc50

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,11 @@ SPDX-License-Identifier: CC0-1.0
108108
<arg>--should-stop=ifError=FLOW</arg>
109109
<arg>-XDcompilePolicy=simple</arg>
110110
<arg>-XDaddTypeAnnotationsToSymbol=true</arg>
111+
<!-- prettier-ignore -->
111112
<arg>
112113
-Xplugin:ErrorProne -XepOpt:NullAway:JSpecifyMode=true -XepDisableWarningsInGeneratedCode -XepExcludedPaths:.*/target/generated-sources/.* -XepOpt:NullAway:JSpecifyMode=true -Xep:InvalidInlineTag:OFF -Xep:MultipleNullnessAnnotations:OFF -Xep:AddNullMarkedToPackageInfo:ERROR -Xep:AmbiguousMethodReference:ERROR -Xep:ArgumentSelectionDefectChecker:ERROR -Xep:ArrayAsKeyOfSetOrMap:ERROR -Xep:AssertEqualsArgumentOrderChecker:ERROR -Xep:AssertFalse:ERROR -Xep:AssertThrowsMultipleStatements:ERROR -Xep:AssertionFailureIgnored:ERROR -Xep:BadComparable:ERROR -Xep:BadImport:ERROR -Xep:BadInstanceof:ERROR -Xep:BigDecimalEquals:ERROR -Xep:BigDecimalLiteralDouble:ERROR -Xep:ByteBufferBackingArray:ERROR -Xep:CacheLoaderNull:ERROR -Xep:CannotMockFinalClass:ERROR -Xep:CanonicalDuration:ERROR -Xep:CatchAndPrintStackTrace:ERROR -Xep:CatchFail:ERROR -Xep:CheckedExceptionNotThrown:ERROR -Xep:ClassCanBeStatic:ERROR -Xep:ClassName:ERROR -Xep:ClassNamedLikeTypeParameter:ERROR -Xep:ClassNewInstance:ERROR -Xep:CollectionUndefinedEquality:ERROR -Xep:CollectorShouldNotUseState:ERROR -Xep:ComparableAndComparator:ERROR -Xep:CompareToZero:ERROR -Xep:ComparisonContractViolated:ERROR -Xep:ComplexBooleanConstant:ERROR -Xep:ConstantField:ERROR -Xep:DateFormatConstant:ERROR -Xep:DeduplicateConstants:ERROR -Xep:DefaultCharset:ERROR -Xep:DefaultPackage:ERROR -Xep:DoubleCheckedLocking:ERROR -Xep:EmptyCatch:ERROR -Xep:EmptyIf:ERROR -Xep:EmptyTopLevelDeclaration:ERROR -Xep:EqualsBrokenForNull:ERROR -Xep:EqualsGetClass:ERROR -Xep:EqualsIncompatibleType:ERROR -Xep:EqualsUnsafeCast:ERROR -Xep:EqualsUsingHashCode:ERROR -Xep:ExpectedExceptionChecker:ERROR -Xep:ExtendingJUnitAssert:ERROR -Xep:FallThrough:ERROR -Xep:FieldCanBeLocal:ERROR -Xep:FieldCanBeStatic:ERROR -Xep:Finally:ERROR -Xep:FloatCast:ERROR -Xep:FloatingPointLiteralPrecision:ERROR -Xep:ForEachIterable:ERROR -Xep:FutureReturnValueIgnored:ERROR -Xep:FuzzyEqualsShouldNotBeUsedInEqualsMethod:ERROR -Xep:GetClassOnEnum:ERROR -Xep:HidingField:ERROR -Xep:ImmutableAnnotationChecker:ERROR -Xep:ImmutableEnumChecker:ERROR -Xep:InconsistentCapitalization:ERROR -Xep:InconsistentHashCode:ERROR -Xep:InconsistentOverloads:ERROR -Xep:IncrementInForLoopAndHeader:ERROR -Xep:InlineFormatString:ERROR -Xep:InputStreamSlowMultibyteRead:ERROR -Xep:InstanceOfAndCastMatchWrongType:ERROR -Xep:InterfaceWithOnlyStatics:ERROR -Xep:InterruptedExceptionSwallowed:ERROR -Xep:InvalidThrows:ERROR -Xep:IterableAndIterator:ERROR -Xep:IterablePathParameter:ERROR -Xep:JavaDurationGetSecondsGetNano:ERROR -Xep:JavaDurationWithNanos:ERROR -Xep:JavaDurationWithSeconds:ERROR -Xep:JavaInstantGetSecondsGetNano:ERROR -Xep:JavaLangClash:ERROR -Xep:JavaLocalDateTimeGetNano:ERROR -Xep:JavaLocalTimeGetNano:ERROR -Xep:JavaTimeDefaultTimeZone:ERROR -Xep:LockNotBeforeTry:ERROR -Xep:LockOnBoxedPrimitive:ERROR -Xep:LogicalAssignment:ERROR -Xep:LongLiteralLowerCaseSuffix:ERROR -Xep:MethodCanBeStatic:ERROR -Xep:MissingCasesInEnumSwitch:ERROR -Xep:MissingOverride:ERROR -Xep:MixedMutabilityReturnType:ERROR -Xep:ModifiedButNotUsed:ERROR -Xep:ModifyCollectionInEnhancedForLoop:ERROR -Xep:ModifySourceCollectionInStream:ERROR -Xep:MultiVariableDeclaration:ERROR -Xep:MultipleParallelOrSequentialCalls:ERROR -Xep:MultipleTopLevelClasses:ERROR -Xep:MultipleUnaryOperatorsInMethodCall:ERROR -Xep:MutableConstantField:ERROR -Xep:MutablePublicArray:ERROR -Xep:NestedInstanceOfConditions:ERROR -Xep:NonAtomicVolatileUpdate:ERROR -Xep:NonCanonicalStaticMemberImport:ERROR -Xep:NonOverridingEquals:ERROR -Xep:NullAway:ERROR -Xep:NullOptional:ERROR -Xep:NullableConstructor:ERROR -Xep:NullablePrimitive:ERROR -Xep:NullableVoid:ERROR -Xep:NumericEquality:ERROR -Xep:ObjectToString:ERROR -Xep:ObjectsHashCodePrimitive:ERROR -Xep:OperatorPrecedence:ERROR -Xep:OptionalMapToOptional:ERROR -Xep:OrphanedFormatString:ERROR -Xep:Overrides:ERROR -Xep:OverrideThrowableToString:ERROR -Xep:PackageLocation:ERROR -Xep:PreconditionsCheckNotNullRepeated:ERROR -Xep:PreferJavaTimeOverload:ERROR -Xep:PrimitiveAtomicReference:ERROR -Xep:ProtectedMembersInFinalClass:ERROR -Xep:ReferenceEquality:ERROR -Xep:RemoveUnusedImports:ERROR -Xep:ReturnFromVoid:ERROR -Xep:RxReturnValueIgnored:ERROR -Xep:SameNameButDifferent:ERROR -Xep:ShortCircuitBoolean:ERROR -Xep:StaticAssignmentInConstructor:ERROR -Xep:StaticGuardedByInstance:ERROR -Xep:StaticQualifiedUsingExpression:ERROR -Xep:StreamResourceLeak:ERROR -Xep:StringSplitter:ERROR -Xep:SynchronizeOnNonFinalField:ERROR -Xep:ThreadJoinLoop:ERROR -Xep:ThreadLocalUsage:ERROR -Xep:ThreeLetterTimeZoneID:ERROR -Xep:TimeUnitConversionChecker:ERROR -Xep:ToStringReturnsNull:ERROR -Xep:TreeToString:ERROR -Xep:TypeEquals:ERROR -Xep:TypeNameShadowing:ERROR -Xep:TypeParameterShadowing:ERROR -Xep:TypeParameterUnusedInFormals:ERROR -Xep:URLEqualsHashCode:ERROR -Xep:UndefinedEquals:ERROR -Xep:UnnecessaryAnonymousClass:ERROR -Xep:UnnecessaryLambda:ERROR -Xep:UnnecessaryMethodInvocationMatcher:ERROR -Xep:UnnecessaryParentheses:ERROR -Xep:UnsafeFinalization:ERROR -Xep:UnsafeReflectiveConstructionCast:ERROR -Xep:UnusedMethod:ERROR -Xep:UnusedNestedClass:ERROR -Xep:UnusedVariable:ERROR -Xep:UseCorrectAssertInTests:ERROR -Xep:Var:ERROR -Xep:VariableNameSameAsType:ERROR -Xep:WaitNotInLoop:ERROR -Xep:WildcardImport:ERROR
113114
</arg>
115+
<!-- prettier-ignore -->
114116
</compilerArgs>
115117
</configuration>
116118
<executions>
@@ -125,9 +127,11 @@ SPDX-License-Identifier: CC0-1.0
125127
<arg>--should-stop=ifError=FLOW</arg>
126128
<arg>-XDcompilePolicy=simple</arg>
127129
<arg>-XDaddTypeAnnotationsToSymbol=true</arg>
130+
<!-- prettier-ignore -->
128131
<arg>
129132
-Xplugin:ErrorProne -XepOpt:NullAway:JSpecifyMode=true -XepDisableWarningsInGeneratedCode -XepExcludedPaths:.*/target/generated-sources/.* -Xep:NullAway:OFF -Xep:JavaTimeDefaultTimeZone:OFF -Xep:AddNullMarkedToPackageInfo:ERROR -Xep:AmbiguousMethodReference:ERROR -Xep:ArgumentSelectionDefectChecker:ERROR -Xep:ArrayAsKeyOfSetOrMap:ERROR -Xep:AssertEqualsArgumentOrderChecker:ERROR -Xep:AssertFalse:ERROR -Xep:AssertThrowsMultipleStatements:ERROR -Xep:AssertionFailureIgnored:ERROR -Xep:BadComparable:ERROR -Xep:BadImport:ERROR -Xep:BadInstanceof:ERROR -Xep:BigDecimalEquals:ERROR -Xep:BigDecimalLiteralDouble:ERROR -Xep:ByteBufferBackingArray:ERROR -Xep:CacheLoaderNull:ERROR -Xep:CannotMockFinalClass:ERROR -Xep:CanonicalDuration:ERROR -Xep:CatchAndPrintStackTrace:ERROR -Xep:CatchFail:ERROR -Xep:CheckedExceptionNotThrown:ERROR -Xep:ClassCanBeStatic:ERROR -Xep:ClassName:ERROR -Xep:ClassNamedLikeTypeParameter:ERROR -Xep:ClassNewInstance:ERROR -Xep:CollectionUndefinedEquality:ERROR -Xep:CollectorShouldNotUseState:ERROR -Xep:ComparableAndComparator:ERROR -Xep:CompareToZero:ERROR -Xep:ComparisonContractViolated:ERROR -Xep:ComplexBooleanConstant:ERROR -Xep:ConstantField:ERROR -Xep:DateFormatConstant:ERROR -Xep:DeduplicateConstants:ERROR -Xep:DefaultCharset:ERROR -Xep:DefaultPackage:ERROR -Xep:DoubleBraceInitialization:ERROR -Xep:DoubleCheckedLocking:ERROR -Xep:EmptyCatch:ERROR -Xep:EmptyIf:ERROR -Xep:EmptyTopLevelDeclaration:ERROR -Xep:EqualsBrokenForNull:ERROR -Xep:EqualsGetClass:ERROR -Xep:EqualsIncompatibleType:ERROR -Xep:EqualsUnsafeCast:ERROR -Xep:EqualsUsingHashCode:ERROR -Xep:ExpectedExceptionChecker:ERROR -Xep:ExtendingJUnitAssert:ERROR -Xep:FallThrough:ERROR -Xep:FieldCanBeLocal:ERROR -Xep:FieldCanBeStatic:ERROR -Xep:Finally:ERROR -Xep:FloatCast:ERROR -Xep:FloatingPointLiteralPrecision:ERROR -Xep:ForEachIterable:ERROR -Xep:FutureReturnValueIgnored:ERROR -Xep:FuzzyEqualsShouldNotBeUsedInEqualsMethod:ERROR -Xep:GetClassOnEnum:ERROR -Xep:HidingField:ERROR -Xep:ImmutableAnnotationChecker:ERROR -Xep:ImmutableEnumChecker:ERROR -Xep:InconsistentCapitalization:ERROR -Xep:InconsistentHashCode:ERROR -Xep:InconsistentOverloads:ERROR -Xep:IncrementInForLoopAndHeader:ERROR -Xep:InlineFormatString:ERROR -Xep:InputStreamSlowMultibyteRead:ERROR -Xep:InstanceOfAndCastMatchWrongType:ERROR -Xep:InterfaceWithOnlyStatics:ERROR -Xep:InterruptedExceptionSwallowed:ERROR -Xep:InvalidInlineTag:OFF -Xep:InvalidThrows:ERROR -Xep:IterableAndIterator:ERROR -Xep:IterablePathParameter:ERROR -Xep:JavaDurationGetSecondsGetNano:ERROR -Xep:JavaDurationWithNanos:ERROR -Xep:JavaDurationWithSeconds:ERROR -Xep:JavaInstantGetSecondsGetNano:ERROR -Xep:JavaLangClash:ERROR -Xep:JavaLocalDateTimeGetNano:ERROR -Xep:JavaLocalTimeGetNano:ERROR -Xep:LockNotBeforeTry:ERROR -Xep:LockOnBoxedPrimitive:ERROR -Xep:LogicalAssignment:ERROR -Xep:LongLiteralLowerCaseSuffix:ERROR -Xep:MethodCanBeStatic:ERROR -Xep:MissingCasesInEnumSwitch:ERROR -Xep:MissingOverride:ERROR -Xep:MixedMutabilityReturnType:ERROR -Xep:ModifiedButNotUsed:ERROR -Xep:ModifyCollectionInEnhancedForLoop:ERROR -Xep:ModifySourceCollectionInStream:ERROR -Xep:MultiVariableDeclaration:ERROR -Xep:MultipleNullnessAnnotations:OFF -Xep:MultipleParallelOrSequentialCalls:ERROR -Xep:MultipleTopLevelClasses:ERROR -Xep:MultipleUnaryOperatorsInMethodCall:ERROR -Xep:MutableConstantField:ERROR -Xep:MutablePublicArray:ERROR -Xep:NestedInstanceOfConditions:ERROR -Xep:NonAtomicVolatileUpdate:ERROR -Xep:NonCanonicalStaticMemberImport:ERROR -Xep:NonOverridingEquals:ERROR -Xep:NullOptional:ERROR -Xep:NullableConstructor:ERROR -Xep:NullablePrimitive:ERROR -Xep:NullableVoid:ERROR -Xep:NumericEquality:ERROR -Xep:ObjectToString:ERROR -Xep:ObjectsHashCodePrimitive:ERROR -Xep:OperatorPrecedence:ERROR -Xep:OptionalMapToOptional:ERROR -Xep:OrphanedFormatString:ERROR -Xep:Overrides:ERROR -Xep:OverrideThrowableToString:ERROR -Xep:PackageLocation:ERROR -Xep:PreconditionsCheckNotNullRepeated:ERROR -Xep:PreferJavaTimeOverload:ERROR -Xep:PrimitiveAtomicReference:ERROR -Xep:ProtectedMembersInFinalClass:ERROR -Xep:ReferenceEquality:ERROR -Xep:RemoveUnusedImports:ERROR -Xep:ReturnFromVoid:ERROR -Xep:RxReturnValueIgnored:ERROR -Xep:SameNameButDifferent:ERROR -Xep:ShortCircuitBoolean:ERROR -Xep:StaticAssignmentInConstructor:ERROR -Xep:StaticGuardedByInstance:ERROR -Xep:StaticQualifiedUsingExpression:ERROR -Xep:StreamResourceLeak:ERROR -Xep:StringSplitter:ERROR -Xep:SynchronizeOnNonFinalField:ERROR -Xep:ThreadJoinLoop:ERROR -Xep:ThreadLocalUsage:ERROR -Xep:ThreeLetterTimeZoneID:ERROR -Xep:TimeUnitConversionChecker:ERROR -Xep:ToStringReturnsNull:ERROR -Xep:TreeToString:ERROR -Xep:TypeEquals:ERROR -Xep:TypeNameShadowing:ERROR -Xep:TypeParameterShadowing:ERROR -Xep:TypeParameterUnusedInFormals:ERROR -Xep:URLEqualsHashCode:ERROR -Xep:UndefinedEquals:ERROR -Xep:UnnecessaryAnonymousClass:ERROR -Xep:UnnecessaryLambda:ERROR -Xep:UnnecessaryMethodInvocationMatcher:ERROR -Xep:UnnecessaryParentheses:ERROR -Xep:UnsafeFinalization:ERROR -Xep:UnsafeReflectiveConstructionCast:ERROR -Xep:UnusedMethod:ERROR -Xep:UnusedNestedClass:ERROR -Xep:UnusedVariable:ERROR -Xep:UseCorrectAssertInTests:ERROR -Xep:Var:ERROR -Xep:VariableNameSameAsType:ERROR -Xep:WaitNotInLoop:ERROR -Xep:WildcardImport:ERROR
130133
</arg>
134+
<!-- prettier-ignore -->
131135
</compilerArgs>
132136
</configuration>
133137
</execution>

0 commit comments

Comments
 (0)