cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dan Diephouse <>
Subject Re: PMD Rule Change Howto?
Date Mon, 16 Oct 2006 13:35:51 GMT
Robin Luscombe wrote:
> Hello,
> 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.
But I *want* people to to be able to override the method down stream. 
Why is that so evil?

- Dan

Dan Diephouse
Envoi Solutions

View raw message