atom feed3 messages in org.codehaus.sonar.user[sonar-user] skipAnnotations ignored ...
FromSent OnAttachments
jorispzDec 22, 2009 1:57 am 
Freddy MalletDec 22, 2009 6:38 am 
jorispzDec 22, 2009 7:30 am 
Subject:[sonar-user] skipAnnotations ignored by PMD's "Avoid Duplicate Literals" rule
From:jorispz (jori@gmail.com)
Date:Dec 22, 2009 1:57:49 am
List:org.codehaus.sonar.user

Hi all,

PMD's "Avoid Duplicate Literals" has a boolean configuration option, skipAnnotations, to prevent literals like "unchecked" in the annotation @SuppressWarnings("unchecked") to be counted as duplicates.

The default value is false. I set it to true, but alas, literals in annotations are still counted as violations. Should I have configured it differently (like 1, or True, or yes), or is there something else going on?

Regards,

Joris