/** * Return a map of the differences between two objects of the same type. * <p> * When null is passed in for b, then the 'OldValues' of a is used for the * difference comparison. * </p> */ public static Map<String, ValuePair> diff(Object a, Object b) { return serverMgr.getDefaultServer().diff(a, b); }
/** * Return a map of the differences between two objects of the same type. * <p> * When null is passed in for b, then the 'OldValues' of a is used for the * difference comparison. * </p> */ public static Map<String, ValuePair> diff(Object a, Object b) { return serverMgr.getPrimaryServer().diff(a, b); }
/** * Return a map of the differences between two objects of the same type. * <p> * When null is passed in for b, then the 'OldValues' of a is used for the * difference comparison. * </p> */ public static Map<String, ValuePair> diff(Object a, Object b) { return serverMgr.getPrimaryServer().diff(a, b); }
@Override public Map<String, ValuePair> diff(Object a, Object b) { methodCalls.add(MethodCall.of("diff").with("a", a, "b", b)); return delegate.diff(a, b); }