Using the Eclipse Checkstyle plugin I see this error:
Name 'logger' must match pattern
'^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'
.
I resolved this error by changing:
private static final Logger logger = Logger.getLogger(someClass.class);
to
private static final Logger LOGGER = Logger.getLogger(someClass.class);
Why is this a checkstyle warning?