Skip to content

Commit

Permalink
[playframework#331] re-introducing yet another method to be backward …
Browse files Browse the repository at this point in the history
…compatible
  • Loading branch information
mbknor committed Sep 26, 2011
1 parent 3f0c8a0 commit 8f2b051
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions framework/src/play/data/binding/Binder.java
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -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 @Deprecated
public static Object bind(String name, Class<?> clazz, Type type, Annotation[] annotations, Map<String, String[]> params) { public static Object bind(String name, Class<?> clazz, Type type, Annotation[] annotations, Map<String, String[]> params) {
RootParamNode parentParamNode = RootParamNode.convert(params); RootParamNode parentParamNode = RootParamNode.convert(params);
Expand Down

0 comments on commit 8f2b051

Please sign in to comment.