squid:S1640 incorrect example

Hello,

I would like to just let you know that in the newest version of SonarLint in squid:S1640 rule, in compiant solution example I see

EnumMap<COLOR, String> moodMap = new EnumMap<COLOR, String> (COLOR.class);

which is in fact still not-compliant to standard rules (it violates squid:S2293). Better would be to use here diamond operator (at least in “compliant” solution).

Thanks for the feedback, example have been updated in compliant solution and should be part of next SonarJava release : https://jira.sonarsource.com/browse/RSPEC-1640