+1

--
Best Regards,
Suraj Khurana
Senior Technical Consultant


On Thu, Nov 12, 2020 at 12:03 AM Jacques Le Roux <
jacques.le.r...@les7arts.com> wrote:

> Hi,
>
> Checkstyle returns 222 occurrences of the message "Utility classes should
> not have a public or default constructor."
>
> This is due to
> https://checkstyle.sourceforge.io/config_design.html#HideUtilityClassConstructor
>
> I don't think we need to follow the "prevents calls from subclass"
> suggestion  there
>
> I rather suggest to comment out the related class in checkstyle.xml:
>
> ie <!-- <module name="HideUtilityClassConstructor"/> -->
>
> If nobody is against, I'll do so in a week
>
> Then should remain only 280 errors and hopefully most will be easy to fix.
> At least they will be easier to spot...
>
> Jacques
>
>

Reply via email to