Skip to content

Commit ddf03d4

Browse files
drhill-metameta-codesync[bot]
authored andcommitted
Suppress PARAMETER_NAME_CHANGED_ON_OVERRIDE for terse 1-3 char supertype param names (5/5)
Differential Revision: D108084629 fbshipit-source-id: 5f4f740fd8b34ffed1eb0ac044653009c361e30a
1 parent 89283eb commit ddf03d4

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

‎imagepipeline/src/main/java/com/facebook/imagepipeline/datasource/AbstractProducerToDataSourceAdapter.kt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ protected constructor(
4343
)
4444
}
4545

46+
@Suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")
4647
override fun onFailureImpl(throwable: Throwable) {
4748
this@AbstractProducerToDataSourceAdapter.onFailureImpl(throwable)
4849
}

‎imagepipeline/src/main/java/com/facebook/imagepipeline/producers/DecodeProducer.kt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,7 @@ class DecodeProducer(
500500
maxBitmapDimension: Int,
501501
) : ProgressiveDecoder(consumer, producerContext, decodeCancellationEnabled, maxBitmapDimension) {
502502
@Synchronized
503+
@Suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")
503504
override fun updateDecodeJob(
504505
encodedImage: EncodedImage?,
505506
@Consumer.Status status: Int,
@@ -525,6 +526,7 @@ class DecodeProducer(
525526
maxBitmapDimension: Int,
526527
) : ProgressiveDecoder(consumer, producerContext, decodeCancellationEnabled, maxBitmapDimension) {
527528
@Synchronized
529+
@Suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")
528530
override fun updateDecodeJob(
529531
encodedImage: EncodedImage?,
530532
@Consumer.Status status: Int,

‎imagepipeline/src/main/java/com/facebook/imagepipeline/producers/PostprocessorProducer.kt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,7 @@ class PostprocessorProducer(
364364
updateInternal()
365365
}
366366

367+
@Suppress("PARAMETER_NAME_CHANGED_ON_OVERRIDE")
367368
override fun onFailureImpl(throwable: Throwable) {
368369
if (close()) {
369370
consumer.onFailure(throwable)

0 commit comments

Comments
 (0)