mirror of https://github.com/zlatinb/muwire
fix compilation
parent
f389231ca4
commit
9ee70f384c
|
@ -535,7 +535,7 @@ public class Core {
|
||||||
if (System.hasProperty("auto.updater.class")) {
|
if (System.hasProperty("auto.updater.class")) {
|
||||||
String className = System.getProperty("auto.updater.class")
|
String className = System.getProperty("auto.updater.class")
|
||||||
log.info("initializing auto-updater $className")
|
log.info("initializing auto-updater $className")
|
||||||
Class<?> clazz = Class.forName(className))
|
Class<?> clazz = Class.forName(className)
|
||||||
AutoUpdater autoUpdater = (AutoUpdater) clazz.newInstance()
|
AutoUpdater autoUpdater = (AutoUpdater) clazz.newInstance()
|
||||||
autoUpdater.init(this)
|
autoUpdater.init(this)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue