提交 8f1842fd 编写于 作者: 黄勇

【I】代码优化

上级 52b06087
Smart Framework
参考手册:
http://dwz.cn/aQwj7
http://note.youdao.com/share/?id=e6f17d81fc9a31370a0de8044d73be08&type=note
系列博文
http://my.oschina.net/huangyong/blog/158380
SDK
http://note.youdao.com/share/?id=816b21e1bf969e0182c3b3f32d09e5fb&type=note
示例:
http://git.oschina.net/huangyong/smart-sample
代码生成器:
http://git.oschina.net/huangyong/smart-generator
\ No newline at end of file
系列博文:
http://my.oschina.net/huangyong/blog/158380
\ No newline at end of file
......@@ -7,7 +7,7 @@ import net.sf.cglib.proxy.MethodProxy;
public class ProxyChain {
private List<Proxy> proxyList;
private int currentProxyIndex;
private int currentProxyIndex = 0;
private Class<?> targetClass;
private Object targetObject;
......
......@@ -61,9 +61,9 @@ public class FileUtil {
try {
if (StringUtil.isNotEmpty(filePath)) {
file = new File(filePath);
File parentPath = file.getParentFile();
if (!parentPath.exists()) {
FileUtils.forceMkdir(parentPath);
File parentDir = file.getParentFile();
if (!parentDir.exists()) {
FileUtils.forceMkdir(parentDir);
}
}
} catch (Exception e) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册