cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Luscombe <>
Subject Re: PMD Rule Change Howto?
Date Mon, 16 Oct 2006 11:35:16 GMT

On Mon, Oct 16, 2006 at 11:25:59AM +0100, Kevin Conner wrote:
> 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.

Declaring it private should also fix it.


View raw message