}
+ @SuppressWarnings({ "unchecked", "deprecation" })
+ // deviceTx.put needs the "true" boolean parameter at the end in order to not compromise the Junit test suite
public static boolean writeTransaction(DeviceTransactionManager deviceTransactionManager,
String nodeId,
LogicalDatastoreType logicalDatastoreType,
return false;
}
DeviceTransaction deviceTx = deviceTxFuture.get().get();
- deviceTx.put(logicalDatastoreType, instanceIdentifier, object, true);
+ deviceTx.put(logicalDatastoreType, instanceIdentifier, object);
deviceTx.commit(Timeouts.DEVICE_WRITE_TIMEOUT, Timeouts.DEVICE_WRITE_TIMEOUT_UNIT).get();
return true;
}