diff --git a/core/src/main/groovy/com/muwire/core/Core.groovy b/core/src/main/groovy/com/muwire/core/Core.groovy index 9ef87367..aba9dcbd 100644 --- a/core/src/main/groovy/com/muwire/core/Core.groovy +++ b/core/src/main/groovy/com/muwire/core/Core.groovy @@ -189,9 +189,9 @@ class Core { } def binding = new Binding() - binding.setProperty("eventBus", eventBus) - // TOOD: other bindings? def shell = new GroovyShell(binding) + binding.setProperty('eventBus', eventBus) + // TOOD: other bindings? def script = shell.parse(f) script.run() } diff --git a/core/src/main/groovy/com/muwire/core/EventBus.groovy b/core/src/main/groovy/com/muwire/core/EventBus.groovy index 7cdf8c10..d6d0ca4a 100644 --- a/core/src/main/groovy/com/muwire/core/EventBus.groovy +++ b/core/src/main/groovy/com/muwire/core/EventBus.groovy @@ -23,7 +23,7 @@ class EventBus { } private void publishInternal(Event e) { - log.fine "publishing event $e" + log.fine "publishing event $e of type ${e.getClass().getSimpleName()}" def currentHandlers final def clazz = e.getClass() synchronized(this) {