Revision: 10671
Author:   gwt.mirror...@gmail.com
Date:     Fri Sep 23 15:47:50 2011
Log: Fix name clash between RequestContext and the FindRequest impl interface.

I think this was only able to compile due to a javac bug. When I
reinstalled eclipse today (don't ask, just don't ask), this line
started failng with:

Name clash: The method find(EntityProxyId<?>) of type FindRequest has the same erasure as find(EntityProxyId<P>) of type RequestContext but does not override it

Installing a fresh OpenJDK showed the same fail in an ant build.

Review at http://gwt-code-reviews.appspot.com/1559803

Review by: cromwell...@google.com
http://code.google.com/p/google-web-toolkit/source/detail?r=10671

Modified:
/trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java

=======================================
--- /trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java Fri Jul 8 07:22:32 2011 +++ /trunk/user/src/com/google/web/bindery/requestfactory/shared/impl/FindRequest.java Fri Sep 23 15:47:50 2011
@@ -31,5 +31,5 @@
   /**
* Use the implicit lookup in passing EntityProxy types to service methods.
    */
-  Request<EntityProxy> find(EntityProxyId<?> proxy);
-}
+  <P extends EntityProxy> Request<P> find(EntityProxyId<P> proxyId);
+}

--
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to