atom feed3 messages in org.codehaus.sonar.user[sonar-user] skipAnnotations ignored ...
FromSent OnAttachments
jorispzDec 22, 2009 1:58 am 
Freddy MalletDec 22, 2009 6:39 am 
jorispzDec 22, 2009 7:30 am 
Subject:[sonar-user] skipAnnotations ignored by PMD's "Avoid Duplicate Literals" rule
From:jorispz (
Date:Dec 22, 2009 1:58:12 am

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?