jsr344-experts@javaserverfaces-spec-public.java.net

[jsr344-experts] Re: UIComponent.getRenderer()

From: Edward Burns <edward.burns_at_oracle.com>
Date: Mon, 5 Mar 2012 06:53:43 -0800

>>>>> On Mon, 5 Mar 2012 09:31:59 -0500, Kito Mann <kito.mann_at_virtua.com> said:

KM> Is there any reason UIComponent.getRenderer() is protected instead of
KM> public? It'd be nice if it were public, especially when writing test code.

Just your garden variety information hiding principles. Does anyone
else want this? It seems a pity to add a new public method just for
testing purposes. At this point, we must undertake the addition of new
API with the greatest care and moderation.

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| homepage:               | http://ridingthecrest.com/