Skip to content

Commit 7c319cb

Browse files
committed
Merge pull request square#624 from square/jw/nully
Account for null paths when naming a Request.
2 parents 37ef90c + 6a53450 commit 7c319cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ String plainId() {
144144

145145
String getName() {
146146
if (uri != null) {
147-
return uri.getPath();
147+
return String.valueOf(uri.getPath());
148148
}
149149
return Integer.toHexString(resourceId);
150150
}

0 commit comments

Comments
 (0)