Hi,
just found out that checkstyle is not completely aware of Java 11 features.
Completely valid syntax e.g. "var attachmentsToRemove = new HashSet<Guid>();"
is marked with error: "DiamondOperator: Diamond operator should be used"

What can we do about this?

Thanks.
Regards,
Ales

--

Ales Musil

Associate Software Engineer - RHV Network

Red Hat EMEA

amusil@redhat.com    IM: amusil