针对 flex:S1172 的误报 - 应删除未使用的函数参数
False positives against flex:S1172 - Unused function parameters should be removed
在 Flex 中,必须使用事件参数定义事件处理程序。
此事件参数不一定在事件处理程序中使用。
参见 http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html
这导致 "false positives" 反对 flex:S1172 - 应删除未使用的函数参数。
你有什么可以做的吗?
查看以下 JIRA 票证:http://jira.sonarsource.com/browse/SONARFLEX-52
在 Flex 中,必须使用事件参数定义事件处理程序。 此事件参数不一定在事件处理程序中使用。 参见 http://www.adobe.com/devnet/actionscript/articles/event_handling_as3.html
这导致 "false positives" 反对 flex:S1172 - 应删除未使用的函数参数。
你有什么可以做的吗?
查看以下 JIRA 票证:http://jira.sonarsource.com/browse/SONARFLEX-52