if (versions.length > 0 && storeManager.isEnableOptimisticTransactions()) {
ConditionalRequestHeader_element ch = new ConditionalRequestHeader_element();
ch.setIfModifiedBeforeArray(versions);
connection.__setConditionalRequestHeader(ch);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("Conditional header set to: " + toString(ch.getIfModifiedBeforeArray(), false, new CalendarCodec()));
}
}
return connection;
}