1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2025-01-10 20:15:54 +00:00

Remove catch-all statement.

This commit is contained in:
Felix Ableitner 2014-08-02 01:28:29 +02:00
parent 026f508b18
commit 299c901086

View file

@ -249,7 +249,6 @@ public class SyncthingService extends Service {
}; };
if (new File(getApplicationInfo().dataDir, PUBLIC_KEY_FILE).exists()) { if (new File(getApplicationInfo().dataDir, PUBLIC_KEY_FILE).exists()) {
try {
File publicKey = new File(getApplicationInfo().dataDir, PUBLIC_KEY_FILE); File publicKey = new File(getApplicationInfo().dataDir, PUBLIC_KEY_FILE);
publicKey.renameTo(new File(getFilesDir(), PUBLIC_KEY_FILE)); publicKey.renameTo(new File(getFilesDir(), PUBLIC_KEY_FILE));
File privateKey = new File(getApplicationInfo().dataDir, PRIVATE_KEY_FILE); File privateKey = new File(getApplicationInfo().dataDir, PRIVATE_KEY_FILE);
@ -265,10 +264,6 @@ public class SyncthingService extends Service {
} }
} }
} }
catch (Exception e) {
Log.e(TAG, "Failed to move config files", e);
}
}
} }
/** /**