From c698ec51a24bdf42e2affad181d2a6d812cbe47b Mon Sep 17 00:00:00 2001 From: huangdarwin Date: Wed, 19 Oct 2022 13:08:03 +0000 Subject: [PATCH] Effect: Remove unnecessary "this" qualifier `transformationMatrix` is not ambiguous, as there's no other local transformationMatrix variable nearby. PiperOrigin-RevId: 482184602 --- .../android/exoplayer2/effect/ScaleToFitTransformation.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java b/library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java index d9a626eebe4..aedcb23335a 100644 --- a/library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java +++ b/library/effect/src/main/java/com/google/android/exoplayer2/effect/ScaleToFitTransformation.java @@ -97,9 +97,9 @@ public ScaleToFitTransformation build() { * @param rotationDegrees How much to rotate the frame counterclockwise, in degrees. */ private ScaleToFitTransformation(float scaleX, float scaleY, float rotationDegrees) { - this.transformationMatrix = new Matrix(); - this.transformationMatrix.postScale(scaleX, scaleY); - this.transformationMatrix.postRotate(rotationDegrees); + transformationMatrix = new Matrix(); + transformationMatrix.postScale(scaleX, scaleY); + transformationMatrix.postRotate(rotationDegrees); } @Override