Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fixed Bug 250 - bits serialization between Binding Broker and DOM broker
[controller.git]
/
opendaylight
/
md-sal
/
sal-binding-broker
/
src
/
main
/
java
/
org
/
opendaylight
/
controller
/
sal
/
binding
/
codegen
/
impl
/
RuntimeCodeGenerator.xtend
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 7ebcf02e41fb0ba7e17268aeee1d13f679ff3d31..8b4155285746b2fa4b0245aeeba220da3efd245c 100644
(file)
--- 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
@@
-71,7
+71,7
@@
class RuntimeCodeGenerator implements org.opendaylight.controller.sal.binding.co
body = '''
{
if(«DELEGATE_FIELD» == null) {
body = '''
{
if(«DELEGATE_FIELD» == null) {
- throw new java.lang.IllegalStateException("No
provider is processing supplied messag
e");
+ throw new java.lang.IllegalStateException("No
default provider is availabl
e");
}
return ($r) «DELEGATE_FIELD».«it.name»($$);
}
}
return ($r) «DELEGATE_FIELD».«it.name»($$);
}
@@
-127,7
+127,7
@@
class RuntimeCodeGenerator implements org.opendaylight.controller.sal.binding.co
instance = «DELEGATE_FIELD»;
}
if(instance == null) {
instance = «DELEGATE_FIELD»;
}
if(instance == null) {
- throw new java.lang.IllegalStateException("No
provider is processing supplied message"
);
+ throw new java.lang.IllegalStateException("No
routable provider is processing routed message for " + String.valueOf(identifier)
);
}
return ($r) instance.«it.name»($$);
}'''
}
return ($r) instance.«it.name»($$);
}'''