Read the versioncode from the repo properly

This commit is contained in:
Ciaran Gultnieks 2010-10-20 22:39:34 +01:00
parent cbdb8078b7
commit 379cfe1264

View File

@ -61,7 +61,7 @@ public class RepoXMLHandler extends DefaultHandler {
if (curapk != null && curel != null) {
if (curel == "version")
curapk.version = str;
if (curel == "vercode") {
if (curel == "versioncode") {
try {
curapk.vercode = Integer.parseInt(str);
} catch (NumberFormatException ex) {