Already did, assigned either to yourself or Santiago, can't find the
link right now
Cheers, Sergey
On 25/03/14 15:59, Marek Potociar wrote:
> Please open a clarification issue.
>
> Thanks,
> Marek
>
> On 12 Mar 2014, at 23:10, Sergey Beryozkin <sberyozkin_at_talend.com> wrote:
>
>> Hi
>>
>> What is the right way to specify the annotation like DefaultValue when injecting the parameters via setters, is it
>>
>> (1)
>>
>> public class Root {
>> @QueryParam("id")
>> @DefaultValue("1")
>> public setId(String id) {}
>> }
>>
>> or
>>
>> (2)
>>
>> public class Root {
>> @QueryParam("id")
>> public setId(@DefaultValue("1") String id) {}
>> }
>>
>> or either (1) or (2).
>>
>> Should API clarify it ? I can open a minor 2.1 issue
>>
>> Sergey
>
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com