Skip to content

Commit d87cd96

Browse files
Correct javadoc comment
1 parent 2adb82b commit d87cd96

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

android-database-sqlcipher/src/main/java/net/sqlcipher/database/SQLiteDatabase.java

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -651,11 +651,11 @@ public boolean isDatabaseIntegrityOk() {
651651
return result.first ? result.second.equals("ok") : result.first;
652652
}
653653

654-
/**
655-
* Returns a list of attached databases including the main database
656-
* by executing PRAGMA database_list
657-
* @return a list of pairs of database name and filename
658-
*/
654+
/**
655+
* Returns a list of attached databases including the main database
656+
* by executing PRAGMA database_list
657+
* @return a list of pairs of database name and filename
658+
*/
659659
public List<Pair<String, String>> getAttachedDbs() {
660660
return getAttachedDbs(this);
661661
}
@@ -677,7 +677,7 @@ public boolean enableWriteAheadLogging() {
677677
return true;
678678
}
679679

680-
/**
680+
/**
681681
* Sets the journal mode of the database to DELETE (the default mode)
682682
*/
683683
public void disableWriteAheadLogging() {
@@ -689,15 +689,15 @@ public void disableWriteAheadLogging() {
689689
rawExecSQL(command);
690690
}
691691

692-
/**
693-
* Sets the journal mode of the database to DELETE (the default mode)
692+
/**
693+
* @return true if the journal mode is set to WAL, otherwise false
694694
*/
695695
public boolean isWriteAheadLoggingEnabled() {
696696
Pair<Boolean, String> result = getResultFromPragma("PRAGMA journal_mode;");
697697
return result.first ? result.second.equals("wal") : result.first;
698698
}
699699

700-
/**
700+
/**
701701
* Enables or disables foreign key constraints
702702
* @param enable used to determine whether or not foreign key constraints are on
703703
*/

0 commit comments

Comments
 (0)