Bug 2347: Minor fixes to correct log output 10/12810/1
authortpantelis <tpanteli@brocade.com>
Thu, 13 Nov 2014 02:57:49 +0000 (21:57 -0500)
committertpantelis <tpanteli@brocade.com>
Thu, 13 Nov 2014 03:02:42 +0000 (22:02 -0500)
commitbda2f4ab9ecd693f85ff21e2bf94fe55ca90608b
tree5b5a4bcbcba34beacaf303187a0f6a40f85d005b
parenta935ffda7f26be29de879a47b426d0db7a28d588
Bug 2347: Minor fixes to correct log output

DOMConcurrentDataCommitCoordinator#handleException hard-codes the error
mapper to CAN_COMMIT_ERROR_MAPPER however this should be passed
in corresponding to the phase.

In TransactionCommitFailedExceptionMapper, the opNames for
PRE_COMMIT_MAPPER and CAN_COMMIT_ERROR_MAPPER are reversed, should be
"preCommit", "canCommit" respectively.

Change-Id: I6c0513f0f6265ec19de39476c95efefee53d2ee1
Signed-off-by: tpantelis <tpanteli@brocade.com>
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/broker/impl/DOMConcurrentDataCommitCoordinator.java
opendaylight/md-sal/sal-dom-broker/src/main/java/org/opendaylight/controller/md/sal/dom/broker/impl/TransactionCommitFailedExceptionMapper.java