1
0
Fork 0
mirror of https://github.com/geometer/FBReaderJ.git synced 2025-10-03 17:59:33 +02:00
This commit is contained in:
lidoxod 2013-07-27 19:25:54 +04:00
parent 9587e38660
commit 53f57f1032
3 changed files with 14 additions and 14 deletions

View file

@ -471,8 +471,7 @@ public class BookCollectionShadow extends AbstractBookCollection implements Serv
return false;
}
try {
myInterface.saveCover(SerializerUtil.serialize(book), url);
return true;
return myInterface.saveCover(SerializerUtil.serialize(book), url);
} catch (RemoteException e) {
e.printStackTrace();
return false;

View file

@ -277,8 +277,7 @@ public class LibraryService extends Service {
@Override
public boolean saveCover(String book, String url) throws RemoteException {
myCollection.saveCover(SerializerUtil.deserializeBook(book), url);
return true;
return myCollection.saveCover(SerializerUtil.deserializeBook(book), url);
}
}

View file

@ -727,8 +727,10 @@ public class BookCollection extends AbstractBookCollection {
outStream.close();
} catch (FileNotFoundException e) {
e.printStackTrace();
return false;
} catch (IOException e) {
e.printStackTrace();
return false;
}
return true;
}