cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Conner <Kevin.Con...@jboss.com>
Subject Re: PMD Rule Change Howto?
Date Mon, 16 Oct 2006 10:25:59 GMT
Dan Diephouse wrote:
> I would like to disable the PMD rule which disables calling methods from 
> constructors. Doing this definitely seems to convolute the code a bit. 
> In the JaxWsEndpointImpl I want to create a method which creates 
> interceptors and then in EndpointImpl after that method is called to add 
> them all to the fault observers. This is not the first time I've wanted 
> to work around this rule and I really don't see any point to it. Thoughts?

If this is the rule that I suspect then its purpose is to remove 
problems which can occur when someone overrides the method.

In that case making your method final should fix it.

	Kev



Mime
View raw message