This is an automated email from the git hooks/post-receive script. New commit to branch develop in repository observe. See http://git.codelutin.com/observe.git commit 983991baaf9f300841899eb6d327739abd967a5d Author: Tony CHEMIT <chemit@codelutin.com> Date: Wed Aug 19 14:02:09 2015 +0200 Correction to context to binder --- .../main/java/fr/ird/observe/services/dto/ObserveDtoBinders.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/observe-services-topia/src/main/java/fr/ird/observe/services/dto/ObserveDtoBinders.java b/observe-services-topia/src/main/java/fr/ird/observe/services/dto/ObserveDtoBinders.java index fc11b56..a153321 100644 --- a/observe-services-topia/src/main/java/fr/ird/observe/services/dto/ObserveDtoBinders.java +++ b/observe-services-topia/src/main/java/fr/ird/observe/services/dto/ObserveDtoBinders.java @@ -28,11 +28,11 @@ public class ObserveDtoBinders { } public static <R extends IdDto> Binder<R, R> newDtoToReferenceBinder(Class<R> dtoType) { - return BinderFactory.newBinder(dtoType, DTO_TO_ENTITY); + return BinderFactory.newBinder(dtoType, DTO_TO_REFERENCE); } - public static <E extends TopiaEntity> Binder<E, E> newEntityToReferenceBinder(Class<E> entityType) { - return BinderFactory.newBinder(entityType, DTO_TO_ENTITY); + public static <E extends TopiaEntity, R extends IdDto> Binder<E, R> newEntityToReferenceBinder(Class<E> entityType, Class<R> dtoType) { + return BinderFactory.newBinder(entityType,dtoType, ENTITY_TO_REFERENCE); } } -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@list.forge.codelutin.com>.