Skip to content
Snippets Groups Projects
Commit 0ce7baa3 authored by cyberta's avatar cyberta
Browse files

fix lint issue, use parseInt instead of valueOf for string to integer conversion

parent 09865483
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment