DBZ-2410 Fix string compare.
This commit is contained in:
parent
d540d6d761
commit
ad206b58bd
@ -125,8 +125,8 @@ void processCommitLog(File file) throws IOException {
|
||||
if (!latestOnly) {
|
||||
queue.enqueue(new EOFEvent(file, false));
|
||||
}
|
||||
LOGGER.warn("Error occurred while processing commit log " + file.getName(), e);
|
||||
if (commitLogTransfer.getClass().toString() == CassandraConnectorConfig.DEFAULT_COMMIT_LOG_TRANSFER_CLASS) {
|
||||
LOGGER.error("Error occurred while processing commit log " + file.getName(), e);
|
||||
if (commitLogTransfer.getClass().getName().equals(CassandraConnectorConfig.DEFAULT_COMMIT_LOG_TRANSFER_CLASS)) {
|
||||
throw e;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user