MultipleStringLiterals ignoreOccurrenceContext

"Fabricio Lemos" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hello,

I am having a problem with the check MultipleStringLiterals. It does not
ignore the strings on parameters, even though I declare it on the
ignoreOccurrenceContext

        <module name="MultipleStringLiterals">
            <property name="ignoreOccurrenceContext"
value="PARAMETERS,ANNOTATION"/>
        </module>

It gives a warning on this code:

myMethod("myString");
myMethod("myString");

Is it a bug or am I missing something?

thanks in advance,
Fabrício Lemos

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

_______________________________________________
Checkstyle-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/checkstyle-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.