Improve code style
Co-Authored-By: B0pol <bopol@e.email>
This commit is contained in:
parent
8dd9b7caa5
commit
4d8d52094f
1 changed files with 2 additions and 2 deletions
|
|
@ -43,7 +43,7 @@ public final class NewPipeDatabase {
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void checkpoint() {
|
public static void checkpoint() {
|
||||||
if(null == databaseInstance){
|
if (databaseInstance == null) {
|
||||||
throw new IllegalStateException("database is not initialized");
|
throw new IllegalStateException("database is not initialized");
|
||||||
}
|
}
|
||||||
Cursor c = databaseInstance.query("pragma wal_checkpoint(full)", null);
|
Cursor c = databaseInstance.query("pragma wal_checkpoint(full)", null);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue