Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 37436 invoked from network); 26 Oct 2006 13:11:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2006 13:11:36 -0000 Received: (qmail 49176 invoked by uid 500); 26 Oct 2006 13:11:46 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 49144 invoked by uid 500); 26 Oct 2006 13:11:46 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 49135 invoked by uid 99); 26 Oct 2006 13:11:46 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Oct 2006 06:11:46 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of julian.reschke@gmx.de designates 213.165.64.20 as permitted sender) Received: from [213.165.64.20] (HELO mail.gmx.net) (213.165.64.20) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 26 Oct 2006 06:11:32 -0700 Received: (qmail invoked by alias); 26 Oct 2006 13:11:10 -0000 Received: from mail.greenbytes.de (EHLO [192.168.1.61]) [217.91.35.233] by mail.gmx.net (mp027) with SMTP; 26 Oct 2006 15:11:10 +0200 X-Authenticated: #1915285 Message-ID: <4540B3F1.6060301@gmx.de> Date: Thu, 26 Oct 2006 15:11:13 +0200 From: Julian Reschke User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 MIME-Version: 1.0 To: dev@jackrabbit.apache.org Subject: SPI: usage of java.util.Properties in interfaces Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org 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