Merge pull request #236 from jacklin213/bugfix

Add fail-safe for version CaSe to Updater
This commit is contained in:
OmniCypher 2015-09-07 17:10:23 -07:00
commit f23e8f6fa0

View file

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