Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

[#331] re-introducing yet another method to be backward compatible

  • Loading branch information...
commit 8f2b051c40126986f852219b0c417600558ca1dc 1 parent 3f0c8a0
@mbknor mbknor authored
Showing with 10 additions and 0 deletions.
  1. +10 −0 framework/src/play/data/binding/Binder.java
View
10 framework/src/play/data/binding/Binder.java
@@ -91,6 +91,16 @@ public MethodAndParamInfo(Object objectInstance, Method method, int parameterInd
}
}
+ /**
+ * Deprecated. Use bindBean() instead.
+ */
+ @Deprecated
+ public static Object bind(Object o, String name, Map<String, String[]> params) {
+ RootParamNode parentParamNode = RootParamNode.convert(params);
+ Binder.bindBean(parentParamNode, name, o);
+ return o;
+ }
+
@Deprecated
public static Object bind(String name, Class<?> clazz, Type type, Annotation[] annotations, Map<String, String[]> params) {
RootParamNode parentParamNode = RootParamNode.convert(params);
Please sign in to comment.
Something went wrong with that request. Please try again.