Refactor isBookAdded in WebServerHelper

This commit is contained in:
Adeel Zafar 2019-08-15 16:41:09 +05:00
parent c37d9ec9b0
commit 0003992907

View File

@ -63,7 +63,7 @@ public class WebServerHelper {
for (String path : selectedBooksPath) { for (String path : selectedBooksPath) {
try { try {
boolean isBookAdded = kiwixLibrary.addBook(path); boolean isBookAdded = kiwixLibrary.addBook(path);
Log.v(TAG, "Book added:" + path); Log.v(TAG, "isBookAdded: " + isBookAdded + path);
} catch (JNIKiwixException e) { } catch (JNIKiwixException e) {
Log.v(TAG, "Couldn't add book " + path); Log.v(TAG, "Couldn't add book " + path);
} }