Can module configurations be overridden?

"Emerson Farrugia" <[email protected]>
Newsgroups gmane.comp.java.audit.checkstyle.user
Message-ID <[email protected]>
Hi,

I'm trying to disable the WhitespaceAround audit event for generics.
The problem is that I want the WhitespaceAround check to be enabled
for the non-generic tokens. Is it possible for the module
configuration to be overridden, like so?


		<module name="WhitespaceAround">
			<property name="severity" value="warning" />
		</module>

		<module name="WhitespaceAround">
			<property name="severity" value="ignore" />
			<property name="tokens"
				value="GENERIC_START, GENERIC_END, TYPE_EXTENSION_AND, WILDCARD_TYPE" />
		</module>


or do I need to manually enumerate all the other tokens in the first
module configuration?

Thanks,
Emerson


P.S. I've never seen type parameters wrapped in whitespace. I don't
know why this is a default setting on the generic tokens. There is no
whitespace in generics code on Sun's site, in the SCJP book, in the
JLS, etc.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
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.