summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/UpdateDownloadManager.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/UpdateDownloadManager.java b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/UpdateDownloadManager.java
index f2eabc7b..b79c2a91 100644
--- a/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/UpdateDownloadManager.java
+++ b/app/src/fatweb/java/se.leap.bitmaskclient/appUpdate/UpdateDownloadManager.java
@@ -171,7 +171,7 @@ public class UpdateDownloadManager implements Logger, DownloadConnector.Download
int version = -1;
try {
- version = Integer.valueOf(versionString);
+ version = Integer.parseInt(versionString);
} catch (NumberFormatException e) {
e.printStackTrace();
Log.e(TAG, "could not parse version code: " + versionString);