Skip to content

Commit 6023822

Browse files
committed
Simplified comments
1 parent 0a19498 commit 6023822

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

WordPressUtils/src/main/java/org/wordpress/android/util/PhotonUtils.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,11 @@ public static String getPhotonImageUrl(String imageUrl, int width, int height, Q
6262
// don't use with GIFs - photon breaks animated GIFs, and sometimes returns a GIF that
6363
// can't be read by BitmapFactory.decodeByteArray (used by Volley in ImageRequest.java
6464
// to decode the downloaded image)
65-
// ex: http://i0.wp.com/lusianne.files.wordpress.com/2013/08/193.gif?resize=768,320
6665
if (imageUrl.endsWith(".gif")) {
6766
return imageUrl;
6867
}
6968

7069
// if this is an "mshots" url, skip photon and return it with a query that sets the width/height
71-
// (these are screenshots of the blog that often appear in freshly pressed posts)
72-
// see http://wp.tutsplus.com/tutorials/how-to-generate-website-screenshots-for-your-wordpress-site/
73-
// ex: http://s.wordpress.com/mshots/v1/http%3A%2F%2Fnickbradbury.com?w=600
7470
if (isMshotsUrl(imageUrl)) {
7571
return imageUrl + "?w=" + width + "&h=" + height;
7672
}

0 commit comments

Comments
 (0)