jdaugherty opened a new issue, #180:
URL: https://github.com/apache/grails-intellij-plugin/issues/180
It seams that "Method may be static" does not take into account Grails
implicit log variable, and probably others. For example following code will
produce "Method may be static" on "private logSomething() method:
```
MyController {
def index() {
logSomething()
}
private logSomething() {
log.info("Something")
}
}
```
Of course, method may not be static, and will cause compilation error if one
tries to make it static anyway.
---
*Imported from
[IDEA-134559](https://youtrack.jetbrains.com/issue/IDEA-134559) · Type: Bug ·
Votes: 2*
*Comments, attachments, dates and reporter are not part of the export —
follow the link above for the full history.*
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]