apache / apache/grails-intellij-plugin
Inspection on Grails controller responseFormats declaration results in false positive
- Dominant language
- Java
- Stars
- 17
- Forks
- 4
- Avg merge
- 5d 15h
- Merged PRs (30d)
- 4
Description
The [responseFormats](http://grails.github.io/grails-doc/2.4.4/ref/Controllers/responseFormats.html) declaration in Grails controllers is being flagged as unused.
Other static declarations like allowedMethods and namespace are not being flagged as unused.
I've confirmed the issue occurs in IDEA 14.0.x and the 14.1 RC (IU-141-175.3).
---
*Imported from [IDEA-137911](https://youtrack.jetbrains.com/issue/IDEA-137911) · Type: Bug · Votes: 0*
*Comments, attachments, dates and reporter are not part of the export — follow the link above for the full history.*
Contributor guide
No contributing guide indexed for this repository
Research direction
No file or test is named. Reproduce the false positive in an IntelliJ IDEA project with a Grails controller declaring responseFormats, then locate the inspection handling controller static declarations and compare it with allowedMethods and namespace; done means responseFormats is no longer reported as unused.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100