Ian Petersen schrieb:
> It's by design that the second and subsequent calls to tryCreate
> return null.  The null return value indicates that the generator has
> already created an implementation for the given type.  You should just
> bail out early in that case.  I usually write my generators like this:
[...]
>   if (pw != null) {
>     writeClass(pw, ...);
>   }

personally I prefer the code to be as flat as possible, so I
was writing this:

if (pw == null){
  return proxyClassname;
}

Now it works, thanks for the fast answer (that came to late
before going to sleep ;-)


Regards, Lothar

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to Google-Web-Toolkit@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to