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
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
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
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
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?
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);
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