Annotate StoredFileHelper.createSAF() as NonNull
This commit is contained in:
parent
9a8cadcf18
commit
e00fe9af0e
1 changed files with 3 additions and 1 deletions
|
|
@ -354,7 +354,9 @@ public class StoredFileHelper implements Serializable {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private DocumentFile createSAF(@Nullable Context context, String mime, String filename) throws IOException {
|
@NonNull
|
||||||
|
private DocumentFile createSAF(@Nullable Context context, String mime, String filename)
|
||||||
|
throws IOException {
|
||||||
DocumentFile res = StoredDirectoryHelper.findFileSAFHelper(context, docTree, filename);
|
DocumentFile res = StoredDirectoryHelper.findFileSAFHelper(context, docTree, filename);
|
||||||
|
|
||||||
if (res != null && res.exists() && res.isDirectory()) {
|
if (res != null && res.exists() && res.isDirectory()) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue