Marcel Reutegger schrieb:
I think both approaches have their disadvantages. Using a map requires casting to Strings (we currently have to stick with 1.4, I think) and Properties class exposes methods like store and load which are useless (or even dangerous).

Well, SPI already uses generic Collections in one other place, so I really don't buy that one :-)

Speaking of which, is there a particular reason why QNodeTypeDefinition.getDependencies returns a Collection, not a Set?

I propose we change the RepositoryService interface and use the two descriptor methods defined in javax.jcr.Repository: getDescriptorKeys() and getDescriptor(). The implementation then can use whatever collection it prefers.

That would work for me for this case.

Best regards, Julian


Reply via email to