Skip to content

Commit

Permalink
Effect: Remove unnecessary "this" qualifier
Browse files Browse the repository at this point in the history
`transformationMatrix` is not ambiguous, as there's no other local
transformationMatrix variable nearby.

PiperOrigin-RevId: 482184602
  • Loading branch information
dway123 authored and marcbaechinger committed Oct 20, 2022
1 parent 28c4be2 commit c698ec5
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c698ec5

Please sign in to comment.