Re: [m2] taglist question

2007-08-13 Thread Mick Knutson
I added: module name=GenericIllegalRegexp property name=format value=\s+$/ property name=message value=Line has trailing spaces./ /module module name=GenericIllegalRegexp !-- . matches any character, so we need to

Re: [m2] taglist question

2007-08-13 Thread Dennis Lundberg
Mick Knutson wrote: I added: module name=GenericIllegalRegexp property name=format value=\s+$/ property name=message value=Line has trailing spaces./ /module module name=GenericIllegalRegexp !-- . matches any character, so we need to

Re: [m2] taglist question

2007-08-11 Thread Hervé BOUTEMY
or you can use SystemPrintln rule from PMD: http://pmd.sourceforge.net/rules/logging-java.html Le samedi 11 août 2007, Dennis Lundberg a écrit : You can use the Regexp module [1] like this: module name=Regexp !-- . matches any character, so we need to escape it and use \. to

[m2] taglist question

2007-08-10 Thread Mick Knutson
I want to get a tag list of all the System.out.println(...) statements there are and I want it to show up as: System.out.println(some print statement); NOT: (some print statement); -- Thanks, Mick Knutson http://www.baselogic.com http://www.blincmagazine.com http://www.djmick.com

Re: [m2] taglist question

2007-08-10 Thread Dennis Lundberg
Mick Knutson wrote: I want to get a tag list of all the System.out.println(...) statements there are and I want it to show up as: System.out.println(some print statement); NOT: (some print statement); What is the purpose of that? Do you want to avoid having System.out calls in your code?

Re: [m2] taglist question

2007-08-10 Thread Mick Knutson
I have checkstyle. How do I do it in Checkstyle? On 8/10/07, Dennis Lundberg [EMAIL PROTECTED] wrote: Mick Knutson wrote: I want to get a tag list of all the System.out.println(...) statements there are and I want it to show up as: System.out.println(some print statement);

Re: [m2] taglist question

2007-08-10 Thread Dennis Lundberg
You can use the Regexp module [1] like this: module name=Regexp !-- . matches any character, so we need to escape it and use \. to match dots. -- property name=format value=System\.out\.println/ property name=illegalPattern value=true/ /module or the GenericIllegalRegexp