mirror of
https://github.com/nextcloud/android.git
synced 2024-11-28 18:28:59 +03:00
add @Nullable to warn via IDE
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
de5bec442a
commit
88b4ef9ffc
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ public class FileDataStorageManager {
|
|||
}
|
||||
|
||||
|
||||
public OCFile getFileById(long id) {
|
||||
public @Nullable
|
||||
OCFile getFileById(long id) {
|
||||
Cursor c = getFileCursorForValue(ProviderTableMeta._ID, String.valueOf(id));
|
||||
OCFile file = null;
|
||||
if (c.moveToFirst()) {
|
||||
|
|
Loading…
Reference in a new issue