mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-12-24 09:00:31 +00:00
Improve code style
Co-Authored-By: B0pol <bopol@e.email>
This commit is contained in:
parent
3e1e07e468
commit
9db2197be1
@ -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…
Reference in New Issue
Block a user