J. Wolfgang Kaltz wrote:

[...]

I checked in the above-mentioned changes. I noticed we now have several places where we have code like
String someUri = "lenya://lenya/pubs/" + pubId + ...
see FIXME note at DocumentTypeBuilderImpl::197


I guess we should encapsulate that somewhere ?
How about Publication.getUri() ?

+1

Maybe we should include the notion of "source" in the method name
to avoid confusion with the (browser) URI (like /lenya/default).

Maybe just Publication.getSourceURI() ?

BTW, is there a convention whether it should be

  get...Uri()

or

  get...URI()

I tend to use the latter for method names, since Cocoon does it
like that in most cases.

-- Andreas


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to