centerCrop = request.centerCrop;
centerInside = request.centerInside;
rotationDegrees = request.rotationDegrees;
rotationPivotX = request.rotationPivotX;
rotationPivotY = request.rotationPivotY;
<BUG>hasRotationPivot = request.hasRotationPivot;
if (request.transformations != null) {</BUG>
transformations = new ArrayList<Transformation>(request.transformations);
}
config = request.config;

centerCrop = request.centerCrop;
centerInside = request.centerInside;
rotationDegrees = request.rotationDegrees;
rotationPivotX = request.rotationPivotX;
rotationPivotY = request.rotationPivotY;
hasRotationPivot = request.hasRotationPivot;
onlyScaleDown = request.onlyScaleDown;
if (request.transformations != null) {
transformations = new ArrayList<Transformation>(request.transformations);
}
config = request.config;
