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; return false;
} }
try { try {
myInterface.saveCover(SerializerUtil.serialize(book), url); return myInterface.saveCover(SerializerUtil.serialize(book), url);
return true;
} catch (RemoteException e) { } catch (RemoteException e) {
e.printStackTrace(); e.printStackTrace();
return false; return false;

View file

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

View file

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