[
http://jira.codehaus.org/browse/MGWT-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208500#action_208500
]
Cedric Exbrayat commented on MGWT-154:
--------------------------------------
Pretty much any tool will raise a warning for an unused import. Of course I can
setup my tools to ignore it but I thought it was a good thing to point out to
make this plugin better. My mistake, sorry. I thought, what an idiot am I, that
unused import were useless in pretty much all coding conventions...
By the way, keep up the good work.
> GenerateAsync generate files with unused imports
> ------------------------------------------------
>
> Key: MGWT-154
> URL: http://jira.codehaus.org/browse/MGWT-154
> Project: Maven 2.x GWT Plugin
> Issue Type: Improvement
> Affects Versions: 1.1
> Reporter: Cedric Exbrayat
> Priority: Minor
>
> The goal generateAsync creates files unused imports.
> The file GenerateAsyncMojo.java contains the following code :
> String[] imports = javaSource.getImports();
> which will get all the service's imports, but the async service generated
> doesn't need them all (for exemple return types and exception aren't used).
> I can't figure an easy way to fix this minor issue, but it is annoying on
> large project.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email