From 0b0d6f409dc4a7b8ad3d5ef983ec3fb1c4eee7b2 Mon Sep 17 00:00:00 2001 From: Robert Varga Date: Sat, 10 May 2014 15:43:45 +0200 Subject: [PATCH] BUG-893: do not store classPool This prevents storing a reference to the classPool. It is not necessary and it makes thinking about accesses much easier. Change-Id: Iebbdac46c3ca445bbe36ba6efd19d3150d728f7f Signed-off-by: Robert Varga --- .../sal/binding/codegen/impl/RuntimeCodeGenerator.xtend | 2 -- 1 file changed, 2 deletions(-) diff --git a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/impl/RuntimeCodeGenerator.xtend b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/impl/RuntimeCodeGenerator.xtend index 6723713645..465a1f7d9d 100644 --- a/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/impl/RuntimeCodeGenerator.xtend +++ b/opendaylight/md-sal/sal-binding-broker/src/main/java/org/opendaylight/controller/sal/binding/codegen/impl/RuntimeCodeGenerator.xtend @@ -43,13 +43,11 @@ import javassist.LoaderClassPath class RuntimeCodeGenerator implements org.opendaylight.controller.sal.binding.codegen.RuntimeCodeGenerator, NotificationInvokerFactory { val CtClass BROKER_NOTIFICATION_LISTENER; - val ClassPool classPool; val extension JavassistUtils utils; val Map, RuntimeGeneratedInvokerPrototype> invokerClasses; new(ClassPool pool) { - classPool = pool; utils = new JavassistUtils(pool); invokerClasses = new WeakHashMap(); BROKER_NOTIFICATION_LISTENER = org.opendaylight.controller.sal.binding.api.NotificationListener.asCtClass; -- 2.36.6