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 C5463DD94 for ; Thu, 6 Sep 2012 12:54:05 +0000 (UTC) Received: (qmail 82886 invoked by uid 500); 6 Sep 2012 12:54:05 -0000 Delivered-To: apmail-jackrabbit-oak-dev-archive@jackrabbit.apache.org Received: (qmail 82858 invoked by uid 500); 6 Sep 2012 12:54:05 -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 82841 invoked by uid 99); 6 Sep 2012 12:54:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 12:54:05 +0000 X-ASF-Spam-Status: No, hits=-1.6 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.18.1.27] (HELO exprod6og111.obsmtp.com) (64.18.1.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Sep 2012 12:53:56 +0000 Received: from outbound-smtp-2.corp.adobe.com ([193.104.215.16]) by exprod6ob111.postini.com ([64.18.5.12]) with SMTP ID DSNKUEicz29VLYqF+cAq91c/33YLqrJ7fh+j@postini.com; Thu, 06 Sep 2012 05:53:35 PDT Received: from inner-relay-1.corp.adobe.com (inner-relay-1.corp.adobe.com [153.32.1.51]) by outbound-smtp-2.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q86CrXP7029383 for ; Thu, 6 Sep 2012 05:53:34 -0700 (PDT) Received: from nacas01.corp.adobe.com (nacas01.corp.adobe.com [10.8.189.99]) by inner-relay-1.corp.adobe.com (8.12.10/8.12.10) with ESMTP id q86CrXvm011311 for ; Thu, 6 Sep 2012 05:53:33 -0700 (PDT) Received: from eurhub01.eur.adobe.com (10.128.4.30) by nacas01.corp.adobe.com (10.8.189.99) with Microsoft SMTP Server (TLS) id 8.3.264.0; Thu, 6 Sep 2012 05:53:32 -0700 Received: from susi.local (10.136.143.18) by eurhub01.eur.adobe.com (10.128.4.111) with Microsoft SMTP Server id 8.3.264.0; Thu, 6 Sep 2012 13:53:29 +0100 Message-ID: <50489CC9.9000306@apache.org> Date: Thu, 6 Sep 2012 13:53:29 +0100 From: =?ISO-8859-1?Q?Michael_D=FCrig?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:15.0) Gecko/20120824 Thunderbird/15.0 MIME-Version: 1.0 To: Subject: Re: Root.getTree(String) References: <9C0FC4C8E9C29945B01766FC7F9D389816FE0B1F2E@eurmbx01.eur.adobe.com> <50489C11.8040406@apache.org> In-Reply-To: <50489C11.8040406@apache.org> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org On 6.9.12 13:50, Michael D�rig wrote: > > Hi,� > > On 6.9.12 13:29, Marcel Reutegger wrote: >> the method Root.getTree(String) does not specify any restrictions for >> the passed path string (relative, absolute?). > > This has come up before. See > https://issues.apache.org/jira/browse/OAK-221. The Oak core API is only > concerned with absolute paths. Maybe we should make this more explicit > in the Javadoc. Ermm, that was the case before TreeLocation was introduced. The latter actually can handle relative paths. So I think its best to document all paths used in Root as absolute. Michael > > Michael