checkstyle

Utility classes should not have a public or default constructor – Spring Boot

Introduction The error, utility classes should not have a public or default constructor, you notice mainly in utility classes where you have declared your  class method(s) as public static and your class does not have private constructor as well as your class has not been declared as final. This error occurs due to the checkstyle […]

How to use checkstyle plugin in gradle based project

We will see here how to use checkstyle plugin in gradle based project. Checkstyle is a static code quality tool used to find Fan-out complexity of a class, complexity of method, utility class, bugs due to not following coding standards etc. so that we can remove the complexity from our Java source code and make […]

Scroll to top