BUG-1933: consult state in subtree modified path 81/11281/1
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)
commit0e98992cbc81c7fcbe8f96e35ba744f5a38c13c1
tree0094c217760c067c8081983559dba9873aec7180
parent4019c9fd2ad99628dd790acc1ad4c104f48b6428
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