提交 80e07b1f 编写于 作者: 黄勇

【I】统一常量接口命名规范

上级 6f8bdd00
package com.smart.generator;
import com.smart.framework.Constant;
import com.smart.framework.FrameworkConstant;
import com.smart.framework.util.FileUtil;
import com.smart.framework.util.StringUtil;
import java.io.FileWriter;
......@@ -33,8 +33,8 @@ public class CodeGenerator {
private static void initVelocity() {
Velocity.setProperty(RuntimeConstants.RUNTIME_LOG_LOGSYSTEM_CLASS, NullLogChute.class.getName());
Velocity.setProperty(Velocity.INPUT_ENCODING, Constant.DEFAULT_CHARSET);
Velocity.setProperty(Velocity.OUTPUT_ENCODING, Constant.DEFAULT_CHARSET);
Velocity.setProperty(Velocity.INPUT_ENCODING, FrameworkConstant.DEFAULT_CHARSET);
Velocity.setProperty(Velocity.OUTPUT_ENCODING, FrameworkConstant.DEFAULT_CHARSET);
Velocity.setProperty(Velocity.FILE_RESOURCE_LOADER_PATH, VM_PATH);
Velocity.init();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册