mirror of https://github.com/facebook/rocksdb.git
[Fix Java] Remove duplicate cases in LoggerJniCallback::Logv
Summary: Remove duplicate cases in LoggerJniCallback::Logv and fix complication error Test Plan: make jclean rocksdbjava jtest -j4 Reviewers: adamretter, andrewkr, sdong Reviewed By: sdong Subscribers: andrewkr, dhruba Differential Revision: https://reviews.facebook.net/D61335
This commit is contained in:
parent
8796934af7
commit
7c01d65344
|
@ -80,9 +80,6 @@ void LoggerJniCallback::Logv(const InfoLogLevel log_level,
|
|||
case rocksdb::InfoLogLevel::WARN_LEVEL:
|
||||
jlog_level = m_jwarn_level;
|
||||
break;
|
||||
case rocksdb::InfoLogLevel::WARN_LEVEL:
|
||||
jlog_level = InfoLogLevelJni::WARN_LEVEL(env);
|
||||
break;
|
||||
case rocksdb::InfoLogLevel::ERROR_LEVEL:
|
||||
jlog_level = m_jerror_level;
|
||||
break;
|
||||
|
@ -92,9 +89,6 @@ void LoggerJniCallback::Logv(const InfoLogLevel log_level,
|
|||
case rocksdb::InfoLogLevel::HEADER_LEVEL:
|
||||
jlog_level = m_jheader_level;
|
||||
break;
|
||||
case rocksdb::InfoLogLevel::HEADER_LEVEL:
|
||||
jlog_level = InfoLogLevelJni::HEADER_LEVEL(env);
|
||||
break;
|
||||
default:
|
||||
jlog_level = m_jfatal_level;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue