Cleanup (explicit 'else' branch)

This commit is contained in:
Roman Shevchenko
2016-02-05 12:30:29 +03:00
parent 7fb2f26637
commit 0460174b3a
@@ -140,9 +140,7 @@ public class PluginDownloader {
LOG.info("Plugin " + myPluginId + ": current version (max) " + myPluginVersion);
return false;
}
if (!descriptor.isBundled()) {
myOldFile = descriptor.getPath();
}
myOldFile = descriptor.isBundled() ? null : descriptor.getPath();
}
// download plugin