Skip to content

Commit 1953d56

Browse files
committed
Remove spaces, reformat JavaDoc
1 parent d6c6c8d commit 1953d56

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

picasso/src/main/java/com/squareup/picasso/BitmapHunter.java

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,8 @@ static BitmapHunter forRequest(Context context, Picasso picasso, Dispatcher disp
233233
}
234234

235235
/**
236-
* Lazily create {@link android.graphics.BitmapFactory.Options}
237-
* based in given {@link com.squareup.picasso.Request},
238-
* only instantiating them if needed.
236+
* Lazily create {@link android.graphics.BitmapFactory.Options} based in given
237+
* {@link com.squareup.picasso.Request}, only instantiating them if needed.
239238
*/
240239
static BitmapFactory.Options createBitmapOptions(Request data) {
241240
final boolean justBounds = data.hasSize();
@@ -244,7 +243,6 @@ static BitmapFactory.Options createBitmapOptions(Request data) {
244243
if (justBounds || hasConfig) {
245244
options = new BitmapFactory.Options();
246245
options.inJustDecodeBounds = justBounds;
247-
248246
if (hasConfig) {
249247
options.inPreferredConfig = data.config;
250248
}
@@ -268,7 +266,6 @@ static void calculateInSampleSize(int reqWidth, int reqHeight, int width, int he
268266
final int widthRatio = Math.round((float) width / (float) reqWidth);
269267
sampleSize = heightRatio < widthRatio ? heightRatio : widthRatio;
270268
}
271-
272269
options.inSampleSize = sampleSize;
273270
options.inJustDecodeBounds = false;
274271
}

0 commit comments

Comments
 (0)