Return-Path: X-Original-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Delivered-To: apmail-jackrabbit-oak-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B3B05D167 for ; Thu, 16 Aug 2012 15:53:38 +0000 (UTC) Received: (qmail 59557 invoked by uid 500); 16 Aug 2012 15:53:38 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 59474 invoked by uid 500); 16 Aug 2012 15:53:38 -0000 Mailing-List: contact oak-dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: oak-dev@jackrabbit.apache.org Delivered-To: mailing list oak-dev@jackrabbit.apache.org Received: (qmail 59433 invoked by uid 99); 16 Aug 2012 15:53:38 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Aug 2012 15:53:38 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 2BFAB2C5BE2 for ; Thu, 16 Aug 2012 15:53:38 +0000 (UTC) Date: Fri, 17 Aug 2012 02:53:38 +1100 (NCT) From: =?utf-8?Q?Michael_D=C3=BCrig_=28JIRA=29?= To: oak-dev@jackrabbit.apache.org Message-ID: <77788212.19301.1345132418180.JavaMail.jiratomcat@arcas> In-Reply-To: <1887779644.9269.1343981822459.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Assigned] (OAK-229) Review root-node shortcut in NamePathMapperImpl MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OAK-229?page=3Dcom.atlassian.j= ira.plugin.system.issuetabpanels:all-tabpanel ] Michael D=C3=BCrig reassigned OAK-229: --------------------------------- Assignee: Michael D=C3=BCrig =20 > Review root-node shortcut in NamePathMapperImpl > ----------------------------------------------- > > Key: OAK-229 > URL: https://issues.apache.org/jira/browse/OAK-229 > Project: Jackrabbit Oak > Issue Type: Sub-task > Reporter: angela > Assignee: Michael D=C3=BCrig > Fix For: 0.5 > > > NamePathMapperImpl#getOakPath(String jcrPath) contains the following shor= tcut: > if ("/".equals(jcrPath)) {=20 > // avoid the need to special case the root path later on return "= /";=20 > } > if oak-paths are defined to contain no leading / (such as Tree#getPath do= es) > i think this shortcut is inconsistent or maybe even wrong. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs: https://issues.apache.org/jira/secure/ContactAdministrators!default.jsp= a For more information on JIRA, see: http://www.atlassian.com/software/jira