Re: Forbid static method call

"Leif Bladt (Inxmail GmbH)" <[email protected]> Fri, 27 Nov 2009 09:39:02 +0100
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi Niels,

Am 27.11.2009 um 09:20 schrieb Niels Stargardt:
> Hi at least I would assert that you must set the format option, but I'm 
> not familiar with the check.

The IllegalToken has no format property, though the IllegalTokenText has it. I also tried it with the IllegalTokenText check, but with no success. I couldn't figure out, how the format string has to be defined to filter METHOD_CALL tokens.


Leif

-- 
Software Developer

------------------------------------------------------

Inxmail GmbH
Wentzingerstr. 21, 79106 Freiburg, Germany
Tel: +49 761 296979-0, Fax: -9
[email protected], www.inxmail.de
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july