#406 - Remove diff "non flat mode" ... so diff going forward only supports flat mode

This commit is contained in:
Robin Bygrave committed 2015-09-03 14:29:03 +12:00
1 parent 54172aec6c
commit 088fcfb296
7 files changed
+42 -168

No files matched your search

@@ -2073,6 +2073,15 @@ public class BeanDescriptor<T> implements MetaBeanInfo, SpiBeanType<T> {
}
}
/**
* Return the diff comparing the bean values.
*/
public Map<String, ValuePair> diff(EntityBean newBean, EntityBean oldBean) {
Map<String, ValuePair> map = new LinkedHashMap<String, ValuePair>();
diff(null, map, newBean, oldBean);
return map;
}
/**
* Populate the diff for updates with flattened non-null property values.
*/