Commit 7143980e authored by yanzg's avatar yanzg

设置打包时可以通过GIT查看源码

parent 0b078523
...@@ -17,6 +17,9 @@ public abstract class DataDaoKey<T> implements DataDaoKeyBase<T> { ...@@ -17,6 +17,9 @@ public abstract class DataDaoKey<T> implements DataDaoKeyBase<T> {
*/ */
@Override @Override
public boolean set(T history, T now) { public boolean set(T history, T now) {
if (history.equals(now)) {
return false;
}
ObjectHelper.writeWithFrom(history, now); ObjectHelper.writeWithFrom(history, now);
return true; return true;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment