Upgraded SpotBugs is finding these, fix them up.
Change-Id: I6209c661ccdf17d886d8c776d96fe6b6a32abc1b
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
@Override
public boolean cancel() {
@Override
public boolean cancel() {
- LOG.debug("{}: Cancelling transaction");
+ LOG.debug("{}: Cancelling transaction", txIdentifier);
if (finished) {
return false;
}
if (finished) {
return false;
}
transactionMap.put(LogicalDatastoreType.OPERATIONAL,
producerMap.get(LogicalDatastoreType.OPERATIONAL).createTransaction(true));
transactionMap.put(LogicalDatastoreType.OPERATIONAL,
producerMap.get(LogicalDatastoreType.OPERATIONAL).createTransaction(true));
- LOG.debug("{}: Creating DOMDataTreeWriteCursors delegates");
+ LOG.debug("{}: Creating DOMDataTreeWriteCursors delegates", txIdentifier);
cursorMap.put(LogicalDatastoreType.CONFIGURATION,
transactionMap.get(LogicalDatastoreType.CONFIGURATION)
.createCursor(new DOMDataTreeIdentifier(LogicalDatastoreType.CONFIGURATION, path)));
cursorMap.put(LogicalDatastoreType.CONFIGURATION,
transactionMap.get(LogicalDatastoreType.CONFIGURATION)
.createCursor(new DOMDataTreeIdentifier(LogicalDatastoreType.CONFIGURATION, path)));
urls.add(u);
LOG.debug("Registered {}", u);
} catch (final Exception e) {
urls.add(u);
LOG.debug("Registered {}", u);
} catch (final Exception e) {
- LOG.warn("Failed to register {}, ignoring it", e);
+ LOG.warn("Failed to register {}, ignoring it", u, e);