Skip to content

Commit 01199d1

Browse files
Merge pull request sqlcipher#531 from AfzalivE/patch-1
Fix spaces in error message
2 parents 5da8577 + 3bbf425 commit 01199d1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@ public SupportSQLiteDatabase getWritableDatabase() {
8888
isCleared = isCleared && (b == (byte)0);
8989
}
9090
if (isCleared) {
91-
throw new IllegalStateException("The passphrase appears to be cleared. This happens by" +
92-
"default the first time you use the factory to open a database, so we can remove the" +
93-
"cleartext passphrase from memory. If you close the database yourself, please use a" +
94-
"fresh SupportFactory to reopen it. If something else (e.g., Room) closed the" +
91+
throw new IllegalStateException("The passphrase appears to be cleared. This happens by " +
92+
"default the first time you use the factory to open a database, so we can remove the " +
93+
"cleartext passphrase from memory. If you close the database yourself, please use a " +
94+
"fresh SupportFactory to reopen it. If something else (e.g., Room) closed the " +
9595
"database, and you cannot control that, use SupportFactory boolean constructor option " +
9696
"to opt out of the automatic password clearing step. See the project README for more information.", ex);
9797
}

0 commit comments

Comments
 (0)