Skip to content

Commit

Permalink
Update StickerProvider.java (firebase#333)
Browse files Browse the repository at this point in the history
Fixes typo `is not is` to `is not in`
  • Loading branch information
rogerthomas84 authored and samtstern committed Sep 5, 2017
1 parent d224414 commit e395d2e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public boolean onCreate() {
public String getType(@NonNull Uri uri) {
final File file = uriToFile(uri);
if (!isFileInRoot(file)) {
throw new SecurityException("File is not is root: " + file);
throw new SecurityException("File is not in root: " + file);
}
return getMimeType(file);
}
Expand All @@ -49,7 +49,7 @@ public ParcelFileDescriptor openFile(@NonNull Uri uri, @NonNull String mode)
throws FileNotFoundException {
final File file = uriToFile(uri);
if (!isFileInRoot(file)) {
throw new SecurityException("File is not is root: " + file);
throw new SecurityException("File is not in root: " + file);
}
return ParcelFileDescriptor.open(file, ParcelFileDescriptor.MODE_READ_ONLY);
}
Expand Down

0 comments on commit e395d2e

Please sign in to comment.