HugeGraph-531: Fix typo at OptionHolder class

Change-Id: I19ea584802edd469d503b9fb57f630bf0c660487
Signed-off-by: Liu Jie <liujie23@baidu.com>
This commit is contained in:
Liu Jie 2017-07-31 15:52:01 +08:00 committed by liningrui
parent dfd3190392
commit dec8fe9a84
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}