http://gwt-code-reviews.appspot.com/902801/diff/20001/21013
File user/src/com/google/gwt/app/place/AbstractProxyEditActivity.java
(right):

http://gwt-code-reviews.appspot.com/902801/diff/20001/21013#newcode147
user/src/com/google/gwt/app/place/AbstractProxyEditActivity.java:147:
stableId = cast(tempRecord.stableId());
Sorry to jump in late but how about making EntityProxy parameterized too
so that this cast wouldn't be necessary?

I mean:
interface EntityProxy<T extends EntityProxy> {
   ...
   EntityProxyId<T> stableId();
}

and then you define your proxies as:
interface PersonProxy extends EntityProxy<PersonProxy> {
   ...
}

http://gwt-code-reviews.appspot.com/902801/show

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

Reply via email to