Avoid nullable filesDir

This commit is contained in:
serso
2016-02-07 19:39:40 +01:00
parent 8c1143cb8f
commit 30eed6af8c
5 changed files with 38 additions and 4 deletions

View File

@@ -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