forked from hugegraph/hugegraph-sync
HugeGraph-531: Fix typo at OptionHolder class
Change-Id: I19ea584802edd469d503b9fb57f630bf0c660487 Signed-off-by: Liu Jie <liujie23@baidu.com>
This commit is contained in:
parent
dfd3190392
commit
dec8fe9a84
|
|
@ -26,9 +26,6 @@ import java.util.Map;
|
|||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
/**
|
||||
* Created by liningrui on 2017/5/25.
|
||||
*/
|
||||
public class OptionHolder {
|
||||
|
||||
private static final Logger logger =
|
||||
|
|
@ -48,7 +45,7 @@ public class OptionHolder {
|
|||
this.options.put(option.name(), option);
|
||||
} catch (Exception e) {
|
||||
String msg = String.format(
|
||||
"Failed to regiser option : %s", field);
|
||||
"Failed to register option : %s", field);
|
||||
logger.error(msg, e);
|
||||
throw new ConfigException(msg, e);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue