reduce raw types

Agree, maybe put it in the timeline for GWTP 2.0

On Wed, Oct 22, 2014 at 4:12 PM, christiangoudreau <notifications@github.com
> wrote:

> In
> gwtp-core/gwtp-dispatch-rest/src/main/java/com/gwtplatform/dispatch/rest/rebind/ActionGenerator.java:
>
> > @@ -143,9 +143,12 @@ public ActionBinding generate() throws UnableToCompleteException {
> >          PrintWriter printWriter = getGeneratorUtil().tryCreatePrintWriter(getPackage(), implName);
> >
> >          if (printWriter != null) {
> > -            doGenerate(implName, printWriter);
> > -
> > -            registerMetadata();
> > +            try {
> > +                doGenerate(implName, printWriter);
> > +                registerMetadata();
> > +            } finally {
> > +                printWriter.close();
> > +            }
>
> That would be nice, but we need a migration path for that since there's
> users that doesn't use 1.7 yet.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/ArcBees/GWTP/pull/603/files#r19215548>.
>