Does check style run on source files or class files? If the former, perhaps check style considers any class with zero instance methods a utility class. Maybe check style sees no methods, which technically fits the "no instance methods" rule, and complains?
I am getting a bizarre error when running checkstyle. I have a simple Java class that has a number of private variables. I annotated the class with @Data annotation to create all necessary getters, setters etc. When I run the checkstyle I get this error: Utility classes should not have a public or default constructor. Does anyone know why is the checkstyle treats this class as utility class, and is this a known Lombok or Checkstyle bug?Thanks!
--
You received this message because you are subscribed to the Google Groups "Project Lombok" group.
To unsubscribe from this group and stop receiving emails from it, send an email to project-lombo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.