From 3bbf425c4ad365f4a290b432a5eed7308ca6b885 Mon Sep 17 00:00:00 2001 From: Afzal Najam Date: Fri, 18 Dec 2020 01:14:45 -0500 Subject: [PATCH] Fix spaces in error message --- .../main/java/net/sqlcipher/database/SupportHelper.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/android-database-sqlcipher/src/main/java/net/sqlcipher/database/SupportHelper.java b/android-database-sqlcipher/src/main/java/net/sqlcipher/database/SupportHelper.java index 22f755bb..f607645e 100644 --- a/android-database-sqlcipher/src/main/java/net/sqlcipher/database/SupportHelper.java +++ b/android-database-sqlcipher/src/main/java/net/sqlcipher/database/SupportHelper.java @@ -88,10 +88,10 @@ public SupportSQLiteDatabase getWritableDatabase() { isCleared = isCleared && (b == (byte)0); } if (isCleared) { - throw new IllegalStateException("The passphrase appears to be cleared. This happens by" + - "default the first time you use the factory to open a database, so we can remove the" + - "cleartext passphrase from memory. If you close the database yourself, please use a" + - "fresh SupportFactory to reopen it. If something else (e.g., Room) closed the" + + throw new IllegalStateException("The passphrase appears to be cleared. This happens by " + + "default the first time you use the factory to open a database, so we can remove the " + + "cleartext passphrase from memory. If you close the database yourself, please use a " + + "fresh SupportFactory to reopen it. If something else (e.g., Room) closed the " + "database, and you cannot control that, use SupportFactory boolean constructor option " + "to opt out of the automatic password clearing step. See the project README for more information.", ex); }