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