Skip to content

Commit

Permalink
Remove canRead check
Browse files Browse the repository at this point in the history
  • Loading branch information
rmoreliovlabs committed Aug 1, 2023
1 parent d0cd06f commit 28de1d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ public static void validateDbKind(DbKind currentDbKind, String databaseDir) {
return;
}

if (!dbKindFileExists || !dbKindFile.canRead()) { // use LEVEL_DB (for backward compatibility), if db folder is not empty and dbKind file doesn't exist
if (!dbKindFileExists) { // use LEVEL_DB (for backward compatibility), if db folder is not empty and dbKind file doesn't exist
KeyValueDataSourceUtils.generatedDbKindFile(DbKind.LEVEL_DB, databaseDir);
return;
}
Expand Down

0 comments on commit 28de1d1

Please sign in to comment.