I run checkstyle on my Java code and get this error:
variable access definition in wrong order
Can somebody tell me what that means?
I run checkstyle on my Java code and get this error:
variable access definition in wrong order
Can somebody tell me what that means?
Maybe it is a little late for answering this question (:D) but in my case i had some thing like that:
public final class ClassA{
private ClassA() {
}
private static Logger LOG = LoggerFactory.getLogger(ClassA.class);
and after i changed the order to:
public final class ClassA{
private static Logger LOG = LoggerFactory.getLogger(ClassA.class);
private ClassA() {
}
my problem solved.