Annotate StoredFileHelper.createSAF() as NonNull

pull/6430/head
TobiGr 2021-06-05 16:34:22 +02:00
rodzic 7e3b3453c0
commit f583dd47ac
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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);
if (res != null && res.exists() && res.isDirectory()) {