Avoid nullable filesDir
This commit is contained in:
@@ -134,7 +134,7 @@ public class FunctionsRegistry extends BaseEntitiesRegistry<Function> {
|
||||
@Override
|
||||
@NonNull
|
||||
protected File getEntitiesFile() {
|
||||
return new File(application.getFilesDir(), "functions.json");
|
||||
return new File(filesDir, "functions.json");
|
||||
}
|
||||
|
||||
@Nonnull
|
||||
|
Reference in New Issue
Block a user