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.
I've the following piece of code: public void relatorioNotaFiscal(FiltroNfVO model, FORMAT format, Relatorio relatorio, final AsyncCallback<PrintReportVO> async) { try { getRelatorioService().getRelatorioNotaFiscal(model, format, relatorio, async); } finally { executeSessionService(); } } Where FORMAT is a public enum FORMAT {...} Editor corretly warn that I don't have "getRelatorioNotaFiscal(..." in interface RelatorioServiceAsync. I hit "Alt+Enter" to get "Create method..." and then I confirm method creation. NetBeans create method as: public void getRelatorioNotaFiscal(FiltroNfVO model, FORMAT fORMAT, Relatorio format, AsyncCallback<PrintReportVO> relatorio); expected result is: public void getRelatorioNotaFiscal(FiltroNfVO model, FORMAT format, Relatorio relatorio, AsyncCallback<PrintReportVO> asyncCallback); Reproducible always, when at least one of the parameters is an Enum. Regards, Edson.
Fixed for NetBeans 7.1: http://hg.netbeans.org/jet-main/rev/6e09c9a1c71d
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/6e09c9a1c71d User: Jan Lahoda <jlahoda@netbeans.org> Log: #199793: correcting guessed name for variables of enum type and for guessed names that start with several capital letters.