Add fail-safe for version CaSe to Updater

This commit is contained in:
Jack Lin 2015-08-31 12:33:12 +12:00
parent 1549ed913c
commit 43491a9c22

View file

@ -95,7 +95,7 @@ public class Updater {
NodeList children = latestFile.getChildNodes();
String version = children.item(1).getTextContent();
return version;
return version.toUpperCase();
}
return null;
}