@@ -108,7 +108,7 @@ private void verifyExistingStore() throws CouchbaseLiteException {
108108 throw new CouchbaseLiteException (Status .UNAUTHORIZED );
109109 } else if (!encryptionAlg .equals (ENCRYPTION_ALGORITHM )) {
110110 Log .w (Log .TAG_DATABASE , "BlobStore: Blob store uses unrecognized encryption '" +
111- encryptionAlg + "'" );
111+ encryptionAlg + '\'' );
112112 throw new CouchbaseLiteException (Status .UNAUTHORIZED );
113113 }
114114 } else if (!isMarkerExists ) {
@@ -180,7 +180,7 @@ public boolean accept(File dir, String name) {
180180 @ Override
181181 public void execute () throws ActionException {
182182 Log .i (Log .TAG_DATABASE , "BlobStore: " +
183- (newKey != null ? "encrypting" : "decrypting" ) + " " + path );
183+ (newKey != null ? "encrypting" : "decrypting" ) + ' ' + path );
184184 Log .i (Log .TAG_DATABASE , "BlobStore: **No blobs to copy; done.**" );
185185 encryptionKey = newKey ;
186186 try {
@@ -216,7 +216,7 @@ public void execute() throws ActionException {
216216 @ Override
217217 public void execute () throws ActionException {
218218 Log .i (Log .TAG_DATABASE , "BlobStore: " +
219- (newKey != null ? "encrypting" : "decrypting" ) + " " + path );
219+ (newKey != null ? "encrypting" : "decrypting" ) + ' ' + path );
220220 if (tempStoreDir == null )
221221 throw new ActionException ("Cannot create a temporary directory" );
222222 }
@@ -315,7 +315,7 @@ public boolean accept(File dir, String name) {
315315 });
316316
317317 for (File file : files ) {
318- String name = file .getName (). substring ( 0 ) ;
318+ String name = file .getName ();
319319 name = name .substring (0 , name .indexOf (FILE_EXTENSION ));
320320 File dest = new File (directory , name .toUpperCase () + FILE_EXTENSION );
321321 file .renameTo (dest );
0 commit comments