CodeNarc web console
@SuppressWarnings('StatelessClass') class MyClass { private static final LOG = Logger.getLogger(Class) private logger = Logger.getLogger(MyClass) def action = { try { logger.info(it) } catch (IOException e) { LOG.error(e) } } }
Subscribe
to this
site
Actions ➤
Execute script
New script
Publish script
View recent scripts
Title
Author
Tags
(comma separated)
Captcha question: 0 + 5
Result
Output
Stacktrace
Recent scripts
UnusedPrivateMethod false positive
by
Marcin Erdmann
6 months ago
Covariant clone()
by
Roshan Dawrani
10 months ago
Tom-Bot
by
HamletDRC
11 months ago
with tags
robot
GroovyQuiz#8
by
HamletDRC
1 year ago
with tags
quiz
SuppressWarnings test
by
melix
1 year ago
with tags
suppresswarnings
Sloppy Logging
by
HamletDRC
1 year ago
with tags
quiz
I See Dead Code2
by
HamletDRC
1 year ago
with tags
quiz
I See Dead Code
by
HamletDRC
1 year ago
with tags
quiz
Groovy Quiz #5
by
HamletDRC
1 year ago
with tags
quiz
Effective Groovy
by
HamletDRC
1 year ago
with tags
quiz