Skip to content

Commit

Permalink
saveToFile() now returns Void type instead of ? wildcard to make call…
Browse files Browse the repository at this point in the history
…backs possible.
  • Loading branch information
dmitry-zaitsev committed May 18, 2017
1 parent f535df1 commit a59fc15
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public PendingResult<BitmapPhoto> toBitmap(Transformer<Size, Size> sizeTransform
*
* @return pending operation which completes when photo is saved to file.
*/
public PendingResult<?> saveToFile(File file) {
public PendingResult<Void> saveToFile(File file) {
return pendingResult
.transform(SaveToFileTransformer.create(file));
}
Expand Down

0 comments on commit a59fc15

Please sign in to comment.