bogus warning on bindData()?
I'm getting a warning in a Grails controller on the following line, that 'bindData' cannot be applied to these parameter types:
bindData(settingsInstance, params, [include:['dateFormat', 'timeZone']])
Ctrl-P gives me only "target, Map params, String... excludes". However, using a map for the 3rd parameter is documented and works as expected.
http://grails.org/doc/latest/guide/6.%20The%20Web%20Layer.html#6.1.6 Data Binding
Is this a bogus warning? I'm using IU-95.54 (9.0.2rc3) and grails-1.2.2.
请先登录再写评论。
Yes, it is our bug. Corresponding issue created: http://youtrack.jetbrains.net/issue/IDEA-54171
Thank you for feedback.
Maxim Medvedev
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"