On Wednesday, September 26, 2012 2:36:16 PM UTC, Thomas Broyer wrote:
--
On Wednesday, September 26, 2012 4:25:12 PM UTC+2, Jakob Mar wrote:public class Foo{ ... public List<? extends Base> getList(){...} ...}public class Base {...}public class A extends Base{...}public class B extends Base{...}@ProxyFor( value=Foo.class, locator...) public interface FooProxy extends EntityProxy{ public List<? extends BaseProxy> getList(); public void setList(List<? extends BaseProxy> list);}Even if it will contain AProxy and BProxy instances, you have to use List<BaseProxy>, not List<? extends BaseProxy>.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/nsmU_nc9YkMJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment