mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
-4
@@ -106,10 +106,6 @@ public abstract class AbstractScriptModuleHandler<T extends Module> extends Base
|
||||
if (scriptEngine instanceof Compilable) {
|
||||
logger.debug("Pre-compiling script of rule with UID '{}'", ruleUID);
|
||||
compiledScript = Optional.ofNullable(((Compilable) scriptEngine).compile(script));
|
||||
} else {
|
||||
logger.error(
|
||||
"Script engine of rule with UID '{}' does not implement Compilable but claims to support pre-compilation",
|
||||
module.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user