Commit 624d3779 authored by yanzg's avatar yanzg

修复异常提醒,从而正确的跟踪异常信息

parent 8643c553
...@@ -540,7 +540,7 @@ public class ObjectHelper { ...@@ -540,7 +540,7 @@ public class ObjectHelper {
* @param froms 来源对象 * @param froms 来源对象
*/ */
public static void writeWithFrom(Object to, Object... froms) { public static void writeWithFrom(Object to, Object... froms) {
writeWithFrom(false, to, froms); writeWithFromEmptyWrite(false, to, froms);
} }
/** /**
...@@ -549,7 +549,7 @@ public class ObjectHelper { ...@@ -549,7 +549,7 @@ public class ObjectHelper {
* @param to 目标对象 * @param to 目标对象
* @param froms 来源对象 * @param froms 来源对象
*/ */
public static void writeWithFrom(boolean emptyWrite, Object to, Object... froms) { public static void writeWithFromEmptyWrite(boolean emptyWrite, Object to, Object... froms) {
for (Object from : froms) { for (Object from : froms) {
if (from instanceof Map) { if (from instanceof Map) {
writeWithFromMap(emptyWrite, to, (Map) from); writeWithFromMap(emptyWrite, to, (Map) from);
......
...@@ -33,7 +33,7 @@ public abstract class DataDaoKey<T> implements DataDaoKeyBase<T> { ...@@ -33,7 +33,7 @@ public abstract class DataDaoKey<T> implements DataDaoKeyBase<T> {
if (history.equals(now)) { if (history.equals(now)) {
return false; return false;
} }
ObjectHelper.writeWithFrom(emptyWrite, history, now); ObjectHelper.writeWithFromEmptyWrite(emptyWrite, 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