My favorites | Sign in
Project Home Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 2: No warning when ambiguous propertues (for example two setters with the same name and dirrerent params)
1 person starred this issue and may be notified of changes. Back to list
Status:  Accepted
Owner:  wmly...@gmail.com


 
Project Member Reported by wmly...@gmail.com, Apr 8, 2009
What steps will reproduce the problem?
1. Create setter setItems(String[] items)
2. Create setter setItems(List<String> items)
3. Create getter List<String> getItems()
4. Generated property type will be String[] and binding generator will have
compile error because getItems has different return type

What is the expected output? What do you see instead?

There should be at least a warning that a type of the property cannot be
resolved. Or even better property type should be List - so then Binding
generator will compile.

Powered by Google Project Hosting