BUG-1933: consult state in subtree modified path
authorRobert Varga <rovarga@cisco.com>
Wed, 17 Sep 2014 09:34:57 +0000 (11:34 +0200)
committerRobert Varga <rovarga@cisco.com>
Wed, 17 Sep 2014 09:34:57 +0000 (11:34 +0200)
commit15b6faaa0fdcbf4e92e605e887d7015568cb2ff9
tree0f7eaee4e48a29b5d72862160590a352713ccaf6
parent75779a3abb529dd3f6419c641e88486719256285
BUG-1933: consult state in subtree modified path

resolveSubtreeChangeEvent() was missing a state.needsProcessing() check,
which means change resolution continued down that path eventhough no
listeners were subscribed to it. Add the check and return with a true if
we terminate early.

Change-Id: I7d386f3abd67c1a241ad88b5809236598dc967dd
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-inmemory-datastore/src/main/java/org/opendaylight/controller/md/sal/dom/store/impl/ResolveDataChangeEventsTask.java