Removes an unnecessary method invocation.

cusax-fix
Lyubomir Marinov 12 years ago
parent 307d7f1c8d
commit f4d011cac2

@ -921,18 +921,13 @@ private static void windowsUpdate()
if(ver.isNightly())
deltaTarget = ver.getNightlyBuildID();
else
deltaTarget = String.valueOf(ver.toString());
deltaTarget = ver.toString();
String deltaLink
= downloadLink.replace(
latestVersion,
latestVersion + "-delta-" + deltaTarget);
/*
* TODO Download the delta update regardless of the logging level
* once the generation of delta updates is implemented and the whole
* functionality performs satisfactory.
*/
if (!deltaLink.equalsIgnoreCase(downloadLink))
delta = download(deltaLink);

Loading…
Cancel
Save