Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 99027 invoked from network); 6 Nov 2008 13:14:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Nov 2008 13:14:13 -0000 Received: (qmail 36642 invoked by uid 500); 6 Nov 2008 13:14:19 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 36268 invoked by uid 500); 6 Nov 2008 13:14:18 -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 36255 invoked by uid 99); 6 Nov 2008 13:14:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 05:14:18 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Nov 2008 13:13:09 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 331F0234C27E for ; Thu, 6 Nov 2008 05:13:51 -0800 (PST) Message-ID: <662674415.1225977231208.JavaMail.jira@brutus> Date: Thu, 6 Nov 2008 05:13:51 -0800 (PST) From: "angela (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-1842) SPI: RepositoryService.obtain should allow to pass null workspaceName indicating the default workspace In-Reply-To: <887376394.1225361984283.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] angela updated JCR-1842: ------------------------ Fix Version/s: (was: 1.6.0) 1.5.0 set fix version to 1.5.0 > SPI: RepositoryService.obtain should allow to pass null workspaceName indicating the default workspace > ------------------------------------------------------------------------------------------------------ > > Key: JCR-1842 > URL: https://issues.apache.org/jira/browse/JCR-1842 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2jcr, sandbox > Reporter: angela > Assignee: angela > Priority: Minor > Fix For: 1.5.0 > > Attachments: JCR-1842.diff, JCR-1842_jcr-server.diff, JCR-1842_sandbox.diff > > > improvement suggested by tobi > the contract of > public SessionInfo obtain(Credentials credentials, String workspaceName) > public SessionInfo obtain(Credentials credentials, String workspaceName) > should be changed to allow for null workspaceName. > * @param workspaceName the name of the workspace the SessionInfo > * should be built for. null indicates that the info should be created for the > * default workspace. > consequently we could either deprecate > RepositoryConfig.getDefaultWorkspaceName() > or allow it to return null as well or remove it altogether. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.