This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Correct the ordering of the Struts imports in the Action class file template. Many tools like Checkstyle and other static analysis tools report problems with classes where the import statements are not alphabetically ordered. The Struts Action template defines these imports (not included the javax.* stuff) : import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionForward; These imports are not alphabetically ordered correctly, causing tools like Checkstyle to throw warnings. These imports should be ordered as such: import org.apache.struts.action.Action; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping;
Fixed. http://hg.netbeans.org/main/rev/64dfee6f058c