jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Angela Schreiber <anch...@day.com>
Subject Re: SPI: usage of java.util.Properties in interfaces
Date Thu, 26 Oct 2006 14:01:46 GMT
ja... we discussed that before. the reason is, that repository
descriptors are defined to be key-value String pairs and we
wanted to make that clear.


Julian Reschke wrote:
> Hi,
> here's a short question: is there a particular reason, why, for 
> instance, RepositoryService.getRepositoryDescriptors() uses a result 
> type of "Properties"?
> In theory, a Map should be sufficient, and would have the benefit of 
> better support in the Collections framework (such as 
> Collections.unmodifiableMap()).
> Best regards, Julian

View raw message